hugo: emoji is rendered in code blocks
I have enableEmoji: True
and the following content in a page:
```
:az:ab:cd:
```
It should be rendered as:
But instead I get an emoji π instead of :ab:
- picture:
$ hugo version
Hugo Static Site Generator v0.44/extended darwin/amd64 BuildDate: unknown
theme: vjeantet/hugo-theme-docdock [latest]
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 15 (7 by maintainers)
@anup92k LoveIt theme uses a special syntax to escape what you want to display. https://hugoloveit.com/theme-documentation-content/#escape-character
π Bumping this issue. I donβt think it should be closed?
reopen, still the case. Hugo should not replace emoji in code blocks. Should work as in github
:smile:
πI assume this is with enableemoji enabled, in which this is as designed. You can solve this by turning that off.