Closed hyperknot closed 5 months ago
<!-- prettier-ignore --> { showStyleURL && ( <pre id="style-url-pre"> <code id="style-url-code">https://tiles.openfreemap.org/styles/liberty</code> </pre> ) } <script is:inline src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
gets reformatted into:
<!-- prettier-ignore --> { showStyleURL && ( <pre id="style-url-pre"> <code id="style-url-code">https://tiles.openfreemap.org/styles/liberty</code> </pre> ) } script is:inline src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
(emphasis is on last lines missing < tag)
check snippet
Duplicate of https://github.com/withastro/prettier-plugin-astro/issues/338
(The root cause is the same, even if that issue showcase a different situation)
Describe the Bug
gets reformatted into:
(emphasis is on last lines missing < tag)
Steps to Reproduce
check snippet