#25 Stop pandoc from encoding some chars such as squotes

Open
3 jaren geleden werd geopend door vaeringjar · 4 opmerkingen

I think this gets activated with the lua-filter. For example:

' becomes

Several of the emojis have similar issues.

It seems like escaping the char \' fixes the issue on build, but maybe I can find a way to fix this without rewriting every instance of each char.

Or maybe the filter needs a flag.

I think this gets activated with the lua-filter. For example: `'` becomes `’` Several of the emojis have similar issues. It seems like escaping the char `\'` fixes the issue on build, but maybe I can find a way to fix this without rewriting every instance of each char. Or maybe the filter needs a flag.
vaeringjar reageerde 3 jaren geleden
Eigenaar

Oh, maybe this needs to use markdown-smart instead of markdown. In which case, this is a bug for fenrisg.

Either way, I'll figure it out.

Oh, maybe this needs to use markdown-smart instead of markdown. In which case, this is a bug for fenrisg. Either way, I'll figure it out.
vaeringjar reageerde 3 jaren geleden
Eigenaar

I fixed the apostrophes at build time with markdown-smart, but the emojis and the footnotes section chars for still have char encoding problems after archiving.

I'll probably end trying without the lua-filter and maybe end up writing a more thorough integration/system test in fenrisg that uses the expected input and output chars from both the Peers and ForgeFed's emojis and the .

Anyway, for now I think I'm done.

I fixed the apostrophes at build time with markdown-smart, but the emojis and the footnotes section chars for `↩` still have char encoding problems after archiving. I'll probably end trying without the lua-filter and maybe end up writing a more thorough integration/system test in fenrisg that uses the expected input and output chars from both the Peers and ForgeFed's emojis and the `↩`. Anyway, for now I think I'm done.
vaeringjar reageerde 3 jaren geleden
Eigenaar

Here's where I got the three other emojis:

https://www.unicode.org/emoji/charts/full-emoji-list.html

I did try a quick bash test, but the look like they're equal on my system.

Here's where I got the three other emojis: https://www.unicode.org/emoji/charts/full-emoji-list.html I did try a quick bash test, but the look like they're equal on my system.
vaeringjar reageerde 3 jaren geleden
Eigenaar

Another thing, I can't seem to get NAB to save any of the emojis in a comment to show my examples. I tried a few times on different comments and I keep getting a 500 error.

EDITS:

Okay it looks like I can use the HTML encoded versions.

📚

📚

But I really am done now. I need to take a break.

Another thing, I can't seem to get NAB to save any of the emojis in a comment to show my examples. I tried a few times on different comments and I keep getting a 500 error. EDITS: Okay it looks like I can use the HTML encoded versions. `📚` 📚 But I really am done now. I need to take a break.
Sign in to join this conversation.
Geen label
Geen mijlpaal
Geen verantwoordelijke
1 deelnemers
Laden...
Annuleren
Opslaan
Er is nog geen inhoud.