Factor out markdown sanitization to html-pipeline-gilab