Sanitizing wiki content before generating the html with markdown