openzim / sotoki

StackExchange websites to ZIM scraper
https://library.kiwix.org/?category=stack_exchange
GNU General Public License v3.0
217 stars 25 forks source link

Markdown text formatting is not rendered #286

Closed mazen-mardini closed 1 year ago

mazen-mardini commented 1 year ago

Text formatting such as the use of double-stars for bold and underscore for italics isn't rendered to HTML.

For example, here is a comment online: https://crypto.stackexchange.com/questions/6185/what-is-a-tweakable-block-cipher#comment176536_6187

The same comment offline: https://library.kiwix.org/content/crypto.stackexchange.com_en_all_2022-11/questions/6185/what-is-a-tweakable-block-cipher#comment196369_6187

Supported formatting at StackOverflow can be found here. I suspect that all StackExchange sites use the same set of Markdown features.

rgaudin commented 1 year ago

Thank you for the report. It looks like markdown rendering is commented in the code. I remember we tested various markdown renderer tying to find the memory leak and even tried without markdown support. For some reason, that got into main.

I'll restore it.

rgaudin commented 1 year ago
Screenshot 2023-04-10 at 14 33 38