Skip to content

Conversation

@thekid
Copy link
Member

@thekid thekid commented Nov 4, 2023

See https://www.w3.org/TR/REC-xml/#sec-white-space:

In editing XML documents, it is often convenient to use "white space" (spaces, tabs, and blank lines) to set apart the markup for greater readability. Such white space is typically not intended for inclusion in the delivered version of the document. On the other hand, "significant" white space that should be preserved in the delivered version is common, for example in poetry and source code.
[...]

When declared, it must be given as an enumerated type whose values are one or both of "default" and "preserve"

@thekid thekid merged commit ce865b0 into master Nov 4, 2023
@thekid thekid deleted the feature/preserve-space branch November 4, 2023 16:59
@thekid
Copy link
Member Author

thekid commented Nov 4, 2023

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.

2 participants