Is there any information on how to properly handle spaces in XHTML (1.0 Transitional)? XHTML does not seem to use standard XML white space processing.
Edit: Maibi, I was a little inaccurate about what I was exactly looking for. I'm more interested in how an element is rendered than how it will be processed by an XML processor. For example, the following will be displayed with 1 space in between:
<em> em content </em> following text
The situation becomes more complicated if the space actually has its own formatting, for example, <a href="http://www.google.de"> content of the hyperlink </a> content after the hyperlink will have an underlined space at the end of the hyperlink, and <a href="http://www.google.de"> content of the hyperlink</a> content after the hyperlink<br /> will not underline the space.
It seems that space is always added to the previous formatting area, and spaces are handled by (built-in) elements of the start and end tags. But this is based solely on testing, and I was wondering if there was any specification on how this behaves well.
source share