-
Notifications
You must be signed in to change notification settings - Fork 760
Open
Description
I found an issue in the way the the image v3 frontend sets the src attribute
Line 68 in 52c868a
| that._properties.src = options["src"]; |
This line sets back the html encoded version of the src which I believe is wrong because later when the width gets replaced
Line 158 in 52c868a
| src = src.replace(SRC_URI_TEMPLATE_WIDTH_VAR, width); |
SRC_URI_TEMPLATE_WIDTH_VAR whis is {.width} won't be found in the string and it will break the link
So the already decoded src ...wid={.width}...gets replaced with the encoded one ...wid=%7B.width%7D... and then the replacement doesn't work anymore resulting in a broken src attribute
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels