Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renderer cannot handle whitespace trimming #8

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

renderer cannot handle whitespace trimming #8

keedi opened this issue Oct 19, 2012 · 1 comment

Comments

@keedi
Copy link
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 ;-)

@vti
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants