html vs htl.html

Good read, Toph! Yes, the old HTML tagged template literal would implicitly trim surrounding whitespace, which made it hard to intentionally introduce whitespace. The new Hypertext Literal does not trim whitespace, which means that it needs to surround the content with an implicit SPAN element. Alternatively, you can use htl.html.fragment to get a DocumentFragment, which is useful if you’re going to interpolate that into another literal.