Skip to content

Conversation

@k-yle
Copy link
Member

@k-yle k-yle commented Nov 20, 2025

Closes #30

This seems to be a bug with the XML library. The browser's native XMLSerializer handles this properly, and the XML spec mentions this in §2.11 and §3.3.3.

I'd like to remove the XML library entirely, but this is blocked by openstreetmap/openstreetmap-website#5973...

@k-yle k-yle force-pushed the kh/line-breaks branch 2 times, most recently from c7e5d91 to 58098f5 Compare November 20, 2025 09:32
@k-yle k-yle merged commit ddb9540 into main Nov 20, 2025
8 checks passed
@k-yle k-yle deleted the kh/line-breaks branch November 20, 2025 09:47
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.

Modifying an element replaces new lines with spaces

2 participants