You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{:ok,[" \tnothing\t\n\t\t\t to\nsee here, working properly \n\n\t\t"]}
Expected behavior
The following output:
{:ok,[" nothing to see here, working properly "]}
(I think that the leading and trailing space must not be trimmed, although like the others it must be collapsed to 1 space; this might need triple-checking with the standards)
Description
parse_fragment does not parse whitespace in HTML (or XML) text properly, keeping it as-is when it should not.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The following output:
(I think that the leading and trailing space must not be trimmed, although like the others it must be collapsed to 1 space; this might need triple-checking with the standards)
Test file (HTML): floki-test.html.txt
The text was updated successfully, but these errors were encountered: