ScholarMarkdown
ScholarMarkdown copied to clipboard
the acronyms filter also replaces <img alt="">
If I have, e.g.
UI,User Interface
in acronyms.csv
, and somewhere add
<img src="img/ui.jpg" alt="The UI">
this results in very nasty HTML
<img src="img/ui.jpg" alt="The <span class='abbreviation' title='User Interface'>UI</span>” />
Are you saying you're not parsing the HTML, but doing regular expressions?