Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

renderer cannot handle whitespace trimming #8

Open
keedi opened this Issue · 1 comment

2 participants

Keedi Kim Viacheslav Tykhanovskyi
Keedi Kim

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 ;-)

Viacheslav Tykhanovskyi
Owner

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
Something went wrong with that request. Please try again.