Skip to content

Fixing error when sanitizing empty href - #179

Merged
cohitre merged 2 commits into
mainfrom
carlos/markdown-syntax
Jan 9, 2026
Merged

Fixing error when sanitizing empty href#179
cohitre merged 2 commits into
mainfrom
carlos/markdown-syntax

Conversation

@cohitre

@cohitre cohitre commented Jan 9, 2026

Copy link
Copy Markdown
Member

The insane package parses URLs in the HTML to verify adherence to the listed schemes.

This branch fixes an error when insane tries to parse attributes that expect a url but don't have a value.

<img src />
<a href title="ok">Link</a>

#150

@cohitre
cohitre merged commit 385cd61 into main Jan 9, 2026
1 check passed
@cohitre
cohitre deleted the carlos/markdown-syntax branch January 9, 2026 17:48
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.

1 participant