We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use instructions provided in Plugin README.MD. Inline SVG using import statements, and pass in TSX as image src (code samples below)
README.MD
src
SVG displayed in browser
SVG not displayed in browser. Data URI generates error in Chrome only. Not visible in Edge, nor Safari.
Error doesn't appear if Data URI is encoded with Base 64 (see #136)
Problematic SVG Data URI:
data:image/svg+xml;utf-8,<?xml version="1.0" encoding="UTF-8"?><svg width="46px" height="43px" viewBox="0 0 46 43" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <!-- Generator: Sketch 62 (91390) - https://sketch.com --> <title>Slice 1</title> <desc>Created with Sketch.</desc> <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <polyline id="Path" stroke="#979797" points="0.6875 0.78515625 28.890625 40.9804688 44.796875 0.78515625"></polyline> </g></svg>
Error:
This page contains the following errors: error on line 1 at column 426: AttValue: ' expected Below is a rendering of the page up to the first error.
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue. This is being tracked in #173.
Sorry, something went wrong.
No branches or pull requests
How Do We Reproduce?
Use instructions provided in Plugin
README.MD
. Inline SVG using import statements, and pass in TSX as imagesrc
(code samples below)Expected Behavior
SVG displayed in browser
Actual Behavior
SVG not displayed in browser. Data URI generates error in Chrome only. Not visible in Edge, nor Safari.
Error doesn't appear if Data URI is encoded with Base 64 (see #136)
Problematic SVG Data URI:
Error:
The text was updated successfully, but these errors were encountered: