Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Emojis are rendered in Markdown code blocks #468

Closed
Szymongib opened this issue Jul 19, 2020 · 1 comment
Closed

[BUG] Emojis are rendered in Markdown code blocks #468

Szymongib opened this issue Jul 19, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Szymongib
Copy link

Describe the bug 描述你遇到的错误

Using emoji-like text in code blocks created with ``` will render as emojis not as a text.

I am not sure if it is an issue of the theme itself or rather some underlying library.

Expected behavior 期待的行为

Emojis are not rendered in code blocks.

Screenshots 屏幕截图

For example, the following code block included in Markdown:

    ```rust
            use super::schema::books::dsl::*;
    ```

Will render as:
image

Build Environment 构建环境

  • OS: Ubuntu
  • Theme commit f787a4e
  • Hugo version v0.74.0-DEV

Preview Environment 预览环境

  • OS: Ubuntu
  • Browser Chrom, Firefox
@Szymongib Szymongib added the bug Something isn't working label Jul 19, 2020
@Szymongib
Copy link
Author

After some digging, I have found that the issue is in Hugo emojify functionality and the issue is already raised.
gohugoio/hugo#7332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant