renderer cannot handle whitespace trimming #8

Open
keedi opened this Issue Oct 19, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

keedi commented Oct 19, 2012

Hi,

I tried following haml sentence, but it doesn't properly work:

%img
%pre><
  foo
  bar
%img

http://haml.info/docs/yardoc/file.REFERENCE.html#whitespace_removal__and_

I expected:

<img /><pre>foo
bar</pre><img />

but result is:

<img />
<pre>
  foo
  bar
</pre>
<img />

BTW, thanks, for useful haml alternative parser for Perl ;-)

Owner

vti commented Oct 23, 2012

Yes, whitespace removal is not implemented. Patches welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment