Closed charlespwd closed 1 year ago
Describe the bug There seems to be an issue with the prettier plugin with nested SVG tags, getting an error for:
Unformatted source
<svg class="icon-svg icon-svg--size-24 notice__icon" aria-hidden="true" focusable="false"> <svg id="error"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 24C5.373 24 0 18.627 0 12S5.373 0 12 0s12 5.373 12 12-5.373 12-12 12zm0-2c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm0-16c.552 0 1 .448 1 1v5c0 .552-.448 1-1 1s-1-.448-1-1V7c0-.552.448-1 1-1zm-1.5 10.5c0-.828.666-1.5 1.5-1.5.828 0 1.5.666 1.5 1.5 0 .828-.666 1.5-1.5 1.5-.828 0-1.5-.666-1.5-1.5z"></path></svg></svg> </svg>
Expected output
Actual output
LiquidHTMLParsingError
Debugging information
Additional context Add any other context about the problem here.
Describe the bug There seems to be an issue with the prettier plugin with nested SVG tags, getting an error for:
Unformatted source
Expected output
Actual output
Debugging information
Additional context Add any other context about the problem here.