jeffreytse / jekyll-spaceship

🚀 A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc.
MIT License
605 stars 63 forks source link

emoji processor corrupts markdown emoji markup in code block #57

Closed jeffreytse closed 3 years ago

jeffreytse commented 3 years ago

Reproduction

Create a markdown and write below code:

'''ruby
p ":+1:"
'''

Result

The emoji markup in the code block was corrupted and there a backslash behind the colon

p "\:+1\:"

Expectation

It should keep the same as the raw code, that is as below:

p ":+1:"