3 ms·
One nice trick that I use all the time is to convert html to md and back again in order to clean it. Anyway, pandoc is great.
by tambourine_man 8y ago
One nice trick that I use all the time is to convert html to md and back again in order to clean it.
Anyway, pandoc is great.
- gitgud 8y agoWould that be a good way to sanitise user input? Like removing script tags etc...
- majewsky 8y agoOnly if you trust Pandoc enough to expose it to unsanitised user input.
- tambourine_man 8y agoIt’s usually not a good idea to “get creative” when it comes to security