Skip to content

renderer cannot handle whitespace trimming #8

@keedi

Description

@keedi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions