Sha256: 7a1090c8a3ca17ddbd488cc315ae14efa9c6e1a887ff0a871e79cabe87d5c534
Contents?: true
Size: 1.07 KB
Versions: 10
Compression:
Stored size: 1.07 KB
Contents
# [new\_attribute\_spec.rb:19](/spec/hamlit/engine/new_attribute_spec.rb#L19) ## Input ```haml %span(a=__LINE__ b=__LINE__) = __LINE__ ``` ## Output ### Haml ```html <span a='1' b='1'></span> 3 ``` ### Hamlit ```html <span a='1' b='2'></span> 3 ``` # [new\_attribute\_spec.rb:31](/spec/hamlit/engine/new_attribute_spec.rb#L31) ## Input ```haml %a(title="'") %a(title = "'\"") %a(href='/search?foo=bar&hoge=<fuga>') ``` ## Output ### Haml ```html <a title="'"></a> <a title=''"'></a> <a href='/search?foo=bar&hoge=<fuga>'></a> ``` ### Hamlit ```html <a title='''></a> <a title=''"'></a> <a href='/search?foo=bar&hoge=<fuga>'></a> ``` # [new\_attribute\_spec.rb:43](/spec/hamlit/engine/new_attribute_spec.rb#L43) ## Input ```haml - title = "'\"" - href = '/search?foo=bar&hoge=<fuga>' %a(title=title) %a(href=href) ``` ## Output ### Haml ```html <a title=''"'></a> <a href='/search?foo=bar&hoge=<fuga>'></a> ``` ### Hamlit ```html <a title=''"'></a> <a href='/search?foo=bar&hoge=<fuga>'></a> ```
Version data entries
10 entries across 10 versions & 1 rubygems