Skip to content

Commit

Permalink
fix: missing spaces around emoji (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreytse committed Jul 13, 2023
1 parent 1e5e187 commit 73a6b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll-spaceship/processors/emoji-processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def emoji_filter(content, selector)
next if result.nil?

content = content.gsub(
/(?<!\=")\s*:#{emoji_name}:\s*(?!"\s)/,
/(?<!\="):#{emoji_name}:(?!"\s)/,
result)
end

Expand Down

0 comments on commit 73a6b92

Please sign in to comment.