gflohr / qgoda

Qgoda (pronounce: yagoda!) is an extensible static site generator with arbitrary taxonomies and cross-links and a strong focus on multilanguage facilities.
https://www.qgoda.net/
Other
30 stars 4 forks source link

Non-ASCII Characters in Headings Cause Errors in Table of Contents #141

Open gflohr opened 5 months ago

gflohr commented 5 months ago

A German umlaut in a heading caused the following error:

/path/to/post.md: Malformed UTF-8 character: \xc3\x25 (unexpected non-continuation byte 0x25, immediately after start byte 0xc3; need 2 bytes, got 1) in substitution (s///) at (eval 106) line 1.
[Fri Mar 29 11:01:55.37846 2024][error] /path/to/post.md: Malformed UTF-8 character (fatal) at (eval 106) line 1.
gflohr commented 5 months ago

Probably only happends when creating an internal link to it?