Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle leading/trailing whitespace? #5

Closed
travisleithead opened this issue Sep 23, 2020 · 0 comments · Fixed by #12
Closed

How to handle leading/trailing whitespace? #5

travisleithead opened this issue Sep 23, 2020 · 0 comments · Fixed by #12

Comments

@travisleithead
Copy link
Member

Copied from: MicrosoftEdge/MSEdgeExplainers#373

How should white space collapsing behavior (like collapsing trailing or leading whitespaces around a line break) be handled? CSS uses white-space and related properties. How might these configuration options be applied to this API?


Current behavior appears to be:

  • Newlines are preserved
  • Spaces are preserved
  • Tabs are collapsed
  • End-of-line spaces are preserved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant