#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 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.