You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Links to resources inside <object data=""> tag should be resolved just like <img src="">
😯 Current Behavior
Links inside <object data=""> are just being skipped and are resulted in dist html as is.
🔦 Context
I am trying to insert external svg using object tag. The syntax is as follows: <object data="./assets/src.svg" type="image/svg+xml"></object>.
I am using this approach instead of regular <img src>, to make text inside of SVG selectable and visible for crawlers. On the other hand, I don't want to insert inline svg.
🐛 bug report
🎛 Configuration (.babelrc, package.json, cli command)
🤔 Expected Behavior
Links to resources inside
<object data="">
tag should be resolved just like<img src="">
😯 Current Behavior
Links inside
<object data="">
are just being skipped and are resulted in dist html as is.🔦 Context
I am trying to insert external svg using object tag. The syntax is as follows:
<object data="./assets/src.svg" type="image/svg+xml"></object>
.I am using this approach instead of regular
<img src>
, to make text inside of SVG selectable and visible for crawlers. On the other hand, I don't want to insert inline svg.💻 Code Sample
No errors. Just in result index.html the
./assets/src.svg
isn't replaced and src.svg isn't copied to dist.🌍 Your Environment
The text was updated successfully, but these errors were encountered: