images with alt-text with bad spaces get eaten #3659
Labels
bug
We say this works but it doesn't
complicated
P2 - minor feature or not urgent
Minor bugs or less-popular features
Renderer
v3
Browser
Chrome
Operating System
MacOS
What happened?
If there are 2 or more consecutive spaces in the alt-text for an image, everything breaks. It also breaks if the alt-text either starts with or ends with a space. (This occurs with or without a
{curly-inject}
, and in standalone images, not just list items.)The problem is not present with Marked v14.0.0 (or earlier). I suspect some side effect from HB's variables code.
Code
The text was updated successfully, but these errors were encountered: