This PR fixes #594 by preventing image alt texts from being processed as markdown.
I've added a new helper method called _hash_span which hashes the text and adds it to the html_spans table. I also made sure that _unhash_html_spans is always called towards the end of convert, so that these hashes are undone.
This PR fixes #594 by preventing image alt texts from being processed as markdown.
I've added a new helper method called
_hash_span
which hashes the text and adds it to thehtml_spans
table. I also made sure that_unhash_html_spans
is always called towards the end ofconvert
, so that these hashes are undone.