There was an error while loading. Please reload this page.
src
1 parent 44122eb commit 8eb74daCopy full SHA for 8eb74da
1 file changed
index.tsx
@@ -662,7 +662,7 @@ function attributeValueToJSXPropValue(
662
663
return styles
664
}, {})
665
- } else if (key === 'href') {
+ } else if (key === 'href' || key === 'src') {
666
return sanitizeUrl(value)
667
} else if (value.match(INTERPOLATION_R)) {
668
// return as a string and let the consumer decide what to do with it
0 commit comments