We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b013a8 commit 716e537Copy full SHA for 716e537
lib/html_pipeline/node_filter/emoji_filter.rb
@@ -17,7 +17,7 @@ class EmojiFilter < NodeFilter
17
18
# Build a regexp that matches all valid :emoji: names.
19
def after_initialize
20
- @emoji_pattern ||= /:(#{emoji_names.map { |name| Regexp.escape(name) }.join('|')}):/
+ @emoji_pattern ||= /:(#{emoji_names.map { |name| Regexp.escape(name) }.join("|")}):/
21
end
22
23
def selector
0 commit comments