Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Aug 16, 2023
1 parent 3b013a8 commit 716e537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/html_pipeline/node_filter/emoji_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class EmojiFilter < NodeFilter

# Build a regexp that matches all valid :emoji: names.
def after_initialize
@emoji_pattern ||= /:(#{emoji_names.map { |name| Regexp.escape(name) }.join('|')}):/
@emoji_pattern ||= /:(#{emoji_names.map { |name| Regexp.escape(name) }.join("|")}):/
end

def selector
Expand Down

0 comments on commit 716e537

Please sign in to comment.