Skip to content

Conversation

@Crozzers
Copy link
Contributor

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.

@nicholasserra
Copy link
Collaborator

LGTM thanks!

@nicholasserra nicholasserra merged commit 1e0fbf2 into trentm:master Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Markdown rendering in image descriptions

2 participants