Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

html: spaces are removed where they shouldn’t #1

Open
cafehaine opened this issue Jul 2, 2019 · 1 comment
Open

html: spaces are removed where they shouldn’t #1

cafehaine opened this issue Jul 2, 2019 · 1 comment

Comments

@cafehaine
Copy link
Owner

for example <p> a </p> would result in <p>a</p> which isn’t displayed the same way.

One way to fix this is to remove all spaces outside of the <body> element, and inside only keep one space when there are multiple.

@cafehaine
Copy link
Owner Author

also if there is no "body" tag in the document, everything should be considered as inside of a body tag.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant