Currently the external scanner code skips past leading whitespace when
invoked. In the case of raw text elements this is contrary to the HTML
standard: 1, 2. Therefore we should check if we're processing raw text,
and only skip the whitespace if not.
I can't figure out a way to add a test which depends on the specific source
range, but if this is possible I can also add some additional tests for this.
Currently the external scanner code skips past leading whitespace when invoked. In the case of raw text elements this is contrary to the HTML standard: 1, 2. Therefore we should check if we're processing raw text, and only skip the whitespace if not.
I can't figure out a way to add a test which depends on the specific source range, but if this is possible I can also add some additional tests for this.
Closes #40.