[web-devel] [hamlet] implicit spaces with newlines?
Patrick Palka
patrick at parcs.ath.cx
Thu May 19 22:49:19 CEST 2011
I find it a bit unintuitive that the hamlet code
<p>hello
<strong>there
or
<p>
hello
<strong>there
generates the html
<p>hello<strong>there</strong></p>
I expected there to be a space between "hello" and "there" similar to
what the html specifications dictate. Is this behavior intentional or an
oversight? If it's the former, then what is the recommended way to
simulate my expected behavior? Appending a space to the end of a line is
mentally ugly and syntactically obscure.
More information about the web-devel
mailing list