Re: [web-annotation] white space normalisation

To be more accurate:

The string interface for a `Selection` is subject to the display 
notification [1].

But the nodes themselves report text content faithfully as space 
characters have their content included when parsing characters in the 
body text of HTML [2][3].

To my knowledge, whitespace isn't collapsed or ignored anywhere 
between tags and there should be `Text` nodes wherever there is text, 
including whitespace.

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=10583
[2] https://www.w3.org/TR/html5/syntax.html#parsing-main-inbody
[3] https://www.w3.org/TR/html5/syntax.html#parsing-main-incdata

-- 
GitHub Notification of comment by tilgovi
Please view or discuss this issue at 
https://github.com/w3c/web-annotation/issues/221#issuecomment-221113797
 using your GitHub account

Received on Monday, 23 May 2016 22:22:45 UTC