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

(Feature parity) Trim whitespaces #34

Closed
saschanaz opened this issue Jul 30, 2019 · 1 comment
Closed

(Feature parity) Trim whitespaces #34

saschanaz opened this issue Jul 30, 2019 · 1 comment
Labels

Comments

@saschanaz
Copy link

saschanaz commented Jul 30, 2019

require("viperhtml")`\n<input>\n`.toString()

hyperHTML trims those \n but viperHTML does not, which causes a difference in DOM tree when parsing the results.

@WebReflection
Copy link
Owner

Same answer I gave in here #35 (comment)

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

No branches or pull requests

2 participants