don't count line and paragraph separators as space

Fix #1 to conform to:

https://html.spec.whatwg.org/multipage/infrastructure.html#space-character