I am looking for this definition to make my HTML rendering a little better. He is currently guessing which spaces to keep in order to collapse and what to quit. The SGML standard is hard to find, and the HTML standard does not seem to apply to the subject with the necessary depth for my needs.
Currently, my rendering parses HTML in a tree, and then a recursive layout passes the positions of all the elements and their contents. I am experimenting with the fact that you throw some gaps in the analysis stage, i.e. Without highlighting spaces only text fragments in certain circumstances. Which species works in most cases, but there are a few rare cases that are difficult to handle.
(I am also working on a subclass of the HTML control editor, and layout time decisions are a little complicated in the editor, so I am working on getting them to the parsing stage. Available until re-melting, some time after editing the document.)
Remove bond / flame.
html sgml whitespace
fret
source share