getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.6k stars 448 forks source link

Emojis silently generate empty blog post #3682

Open MattiooFR opened 1 year ago

MattiooFR commented 1 year ago

Environment

Python Version: 3.11

Nikola Version: 8.2.3

Operating System: MacOS

Description:

If there is an emoji in the posts content, the html will silently not be generated when I do nikola auto or build. It was working before so I don't know what changed and make it not work.

My blog posts are done using pandoc in markdown.

This is an example that doesn't work :

<!--
.. title: test
.. slug: test
.. date: 2023-04-24 18:59:18 UTC+02:00
.. tags:
.. category:
.. link:
.. description:
.. type: text
-->

💪🏼
Kwpolska commented 1 year ago

I cannot reproduce using pandoc and Markdown, and using reST, on Linux.

  1. Can you reproduce in a clean demo site using reST, python-markdown, and HTML?
  2. Is there any content in cache/posts/test.html?
  3. Do you get any error output when you run nikola build -a -v 2?
LudovicRousseau commented 5 months ago

This issue looks similar to https://github.com/getnikola/nikola/issues/3686