#25 Stop pandoc from encoding some chars such as squotes

Отворено
отворено пре 3 година од vaeringjar · 4 коментара
vaeringjar коментирира пре 3 година

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 коментирира пре 3 година
Власник

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 коментирира пре 3 година
Власник

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 коментирира пре 3 година
Власник

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 коментирира пре 3 година
Власник

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.
Пријавите се да се прикључе у овом разговору.
Нема лабеле
Нема фазе
Нема одговорних
1 учесника
Учитавање...
Откажи
Сачувај
Још нема садржаја.