Y
Hacker News
new
|
ask
|
show
|
jobs
by
tambourine_man
2851 days 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.
1 comments
gitgud
2851 days ago
Would that be a good way to sanitise user input? Like removing script tags etc...
link
tambourine_man
2851 days ago
It’s usually not a good idea to “get creative” when it comes to security
link
majewsky
2851 days ago
Only if you trust Pandoc enough to expose it to unsanitised user input.
link