View Single Post
Old 05-04-2016, 12:33 PM   #41
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,557
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by Jim Chapman View Post
Reality check: using <p>&nbsp;</p> to represent a section break is 'valid' in the limited sense that the XHTML standard says that it is acceptable XHTML. But because the XHTML standard is not explicit about how you should display non-rendering non-whitespace, it does not tell us what a reading system has to do with that valid coding. It would be acceptable to ignore it (on the grounds that it is a P element containing no renderable content). It would also be acceptable to add a line containing nothing (on the grounds that it is a P element containing non-whitespace characters).
I can you an example of a reading application that does ignore "<p>&nbsp;</p>": Mobipocket Reader. A rather elderly program, to be sure, but nonetheless it will completely ignore that code and not display any vertical space for it at all.
HarryT is offline   Reply With Quote