On 11.07.2025 22:51 by Leif Halvard Silli:
The WYSIWYG editing interface behaves as if the space characters in
the following code example are signficant!
<body><space><p>Lorem.</p><space><Ipsum></p><space></body>
Or else it would not have displayed those space characters as an empty
lines – empty paragraphs – over, between or after the <p> elements.
For the record, the statement «over, between or after the <p> elements»
is 66% incorrect. (I literally used <body xml:space="preserve"> when I
wrote that ... sorry.)
Let me try again – currently, for the following HTML code:
<body><p>Lorem.</p><p>Ipsum</p></body>
Then, XXE will massage the whitespace to a single space character:
<body><p>Lorem.</p><p>Ipsum.</p></body>(Thus, the whitespace just after
<body> and just before </body> will be removed.) I still find this
brittle, though. -- Leif Halvard Silli
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support