Skip to content

Conversation

JonathanWbn
Copy link
Contributor

There is an issue when bundling the @geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css file with Vite.

What happens is that the <style> tag of the Text.svg file does not get properly escaped and thus produces malformed HTML.

This PR moves the style rules of this SVG from an inline <style> tag to SVG HTML properties.

@iKasch
Copy link

iKasch commented Apr 7, 2025

Nice one!

Copy link
Collaborator

@Falke-Design Falke-Design left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Falke-Design Falke-Design merged commit bea55a6 into geoman-io:develop Apr 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants