3 ms·
Oh, huh, I didn't know XML uses the same comments as HTML. 4 is valid, though: XML requires special directives to preserve whitespace. JSX requires different s
by Zarel 8y ago
Oh, huh, I didn't know XML uses the same comments as HTML.
4 is valid, though: XML requires special directives to preserve whitespace. JSX requires different syntax with {`...`}, but it's a similar idea.
- _pmf_ 8y ago> XML requires special directives to preserve whitespace Not in what you would consider content: from http://usingxml.com/Basics/XmlSpace http://usingxml.com/Basics/XmlSpace: "White space in any other location must be passed on to the processing application, according to the XML specification."