Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

<img> tags with SVG source file break in Vue template #1664

Closed
loilo opened this issue Mar 28, 2019 · 7 comments 路 Fixed by #5558
Closed

<img> tags with SVG source file break in Vue template #1664

loilo opened this issue Mar 28, 2019 · 7 comments 路 Fixed by #5558
Labels
馃帓 Bundler Refers to CodeSandbox's In-Browser Bundler

Comments

@loilo
Copy link

loilo commented Mar 28, 2019

馃悰 bug report

Description of the problem

When using an <img> tag with an SVG source file (using a relative path, so it's handled by webpack), CodeSandbox tries to inline the SVG code into the src attribute of the <img> tag, which naturally does not work.

How has this issue affected you? What are you trying to accomplish?

I wanted to display an SVG image but I couldn't. 馃檪
(FWIW, it works to just put the SVG in the public folder and serve it from there, statically. However I think this is still a bug that should get fixed.)

Link to sandbox

Your Environment

Software Name/Version
小odesandbox PROD-1553733958-f0fde446a
Browser 72.0.3626.121
Operating System macOS 10.14.4 Beta
@lbogdan lbogdan added bug? 馃帓 Bundler Refers to CodeSandbox's In-Browser Bundler labels Mar 28, 2019
@pjchender
Copy link

Same here as in React template.

@garethx garethx removed the bug? label May 14, 2020
@github-actions
Copy link

github-actions bot commented Sep 4, 2020

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

@github-actions github-actions bot added the stale label Sep 4, 2020
@loilo
Copy link
Author

loilo commented Sep 4, 2020

Bump @github-actions, issue still occurs.

@github-actions
Copy link

This issue has automatically been marked stale because there has been no activity in a while. Please leave a comment if the issue has not been resolved, or if it is not stale for any other reason. After 2 weeks, this issue will automatically be closed, unless a comment is made or the stale label is removed.

@github-actions github-actions bot added the stale label Dec 20, 2020
@loilo
Copy link
Author

loilo commented Dec 20, 2020

This is still broken so should probably not be closed.

@github-actions
Copy link

This issue has automatically been marked stale because there has been no activity in a while. Please leave a comment if the issue has not been resolved, or if it is not stale for any other reason. After 2 weeks, this issue will automatically be closed, unless a comment is made or the stale label is removed.

@github-actions github-actions bot added the stale label Mar 25, 2021
@loilo
Copy link
Author

loilo commented Mar 25, 2021

Still broken @github-actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃帓 Bundler Refers to CodeSandbox's In-Browser Bundler
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants