loreanvictor / rehtm

Create and hydrate HTML with HTM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whitespace handling

loreanvictor opened this issue · comments

rehtm handles whitespace differently than HTML itself. This particularly means hydrating HTML generated by other means, even when the string seems exceedingly similar, will not work properly (see demo).

However, since this only happens with DOM generated by other means, I'm not sure whether this should be fixed or not. Leaving this issue open for further consideration.