gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
75.87k stars 7.54k forks source link

emoji does not render (test case) #2391

Closed gour closed 8 years ago

gour commented 8 years ago

Hello,

I'd like to migrate to Hugo and have old site with lot of emojis...However I experience some strange cases that by adding/removing some text, emojis (dis)appear and I had similar problems with emoji plugin for Grav flat CMS where its author told me it's Unicode-based problem and regex, so it mght be that Hugo has the same illness. ;)

Let me add that I experience same/similar problem in the content using {asciidoc, markdown, rst}.

Here is simple text containing showing the problem:


---
title: 'Emoji test(md)'
date: '2016-08-28T15:23:34+02:00'
enableEmoji: true

---

Hugo is a general-purpose website framework. Technically speaking, Hugo is a static site generator. Unlike other systems which dynamically build a page every time a visitor requests one, Hugo does the building when you create your content. Since websites are viewed far more often than they are edited, Hugo is optimized for website viewing while providing a great writing experience. :joy:

Sites built with Hugo are extremely fast and very secure. [Hugo](http://gohugo.io) sites can be hosted anywhere. :sunglasses:

Web site generators render content into HTML files. Most are “dynamic site generators.” That means the [HTTP server](http://gohugo.io/overview/introduction/) which is the program running on your website that the user’s browser talks to) runs the generator to create a new HTML file *each* and **every time** a user wants to view a page.

Creating the page dynamically means that the computer hosting the HTTP server has to have enough memory and CPU to effectively run the generator around the clock. If not, then the user has to wait in a queue for the page to be generated. :astonished:

iow. :astonished: at the end is not rendered.

However, if I remove 3rd paragraph starting with

Web site generators...

the last 'astonished' (:astonished:) emoji is rendered?! :crystal_ball:

Any hint?

Edit: Forgot to say that I tried with master and multilingual branches of Hugo Static Site Generator v0.17-DEV BuildDate: 2016-08-28.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.