Process HTML sequences in dataset description
Some datasets contain HTML elements like <p>
, <b>
or <br/>
which we properly as escape but we might want to process them using a common routine shared by all harvesters. Either we replace/replace them, e.g. expand to <p>
to \n\n
and <br/>
to \n
and drop <b>
etc. Or we take the more involved route of actually santizing them and marking as safe for the template engine (e.g. using Askama's safe
filter) so that a basic set of formatting tags is useable.