Sha256: 248ef4773a02dcb3e7d84c96edcdee9f998db09c8ee5a84b22ea41200589a486
Contents?: true
Size: 1.45 KB
Versions: 1
Compression:
Stored size: 1.45 KB
Contents
# [./spec/render/newline_spec.rb:19](../../../spec/render/newline_spec.rb#L19) ## Input ```haml %div - 2.times do |i| %span>= i ``` ## Faml, Haml ```html <div><span>0</span><span>1</span></div> ``` ## Hamlit ```html <div> <span>0</span><span>1</span></div> ``` # [./spec/render/newline_spec.rb:27](../../../spec/render/newline_spec.rb#L27) ## Input ```haml %div / - 2.times do |i| %span>= i ``` ## Faml, Haml ```html <div> <!--<span>0</span><span>1</span>--> </div> ``` ## Hamlit ```html <div> <!-- <span>0</span><span>1</span>--></div> ``` # [./spec/render/newline_spec.rb:36](../../../spec/render/newline_spec.rb#L36) ## Input ```haml %div / [if IE] - 2.times do |i| %span>= i ``` ## Faml, Haml ```html <div> <!--[if IE]><span>0</span><span>1</span><![endif]--> </div> ``` ## Hamlit ```html <div> <!--[if IE]> <span>0</span><span>1</span><![endif]--></div> ``` # [./spec/render/newline_spec.rb:71](../../../spec/render/newline_spec.rb#L71) ## Input ```haml %div{foo: :bar} <b>hello</b> ``` ## Faml, Haml ```html <div foo='bar'><b>hello</b></div> ``` ## Hamlit (Error) ```html Generator supports only core expressions - found ["b>{foo: :bar}"] ``` # [./spec/render/newline_spec.rb:71](../../../spec/render/newline_spec.rb#L71) ## Input ```haml %div(foo="bar") <b>hello</b> ``` ## Faml, Haml ```html <div foo='bar'><b>hello</b></div> ``` ## Hamlit (Error) ```html Generator supports only core expressions - found ["b>"] ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
faml-0.2.16 | incompatibilities/spec/render/newline_spec.md |