Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Handle emoji / unicode #20

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johnsca
Copy link

@johnsca johnsca commented Aug 10, 2023

Similar to squidfunk/mkdocs-material#5126, certain emoji lead to the error lxml.etree.ParserError: Document is empty. This escapes them so to avoid that error.

Similar to squidfunk/mkdocs-material#5126, certain emoji lead to the error `lxml.etree.ParserError: Document is empty`. This escapes them so to avoid that error.
@johnsca
Copy link
Author

johnsca commented Aug 10, 2023

Hrm. Actually, it seems this breaks how newlines are handled, leading to rendering of literal \n sequences.

@johnsca johnsca marked this pull request as draft August 11, 2023 13:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant