Sha256: 749177ff22baa8a148a61f2151f9b547190a5367817b870922ad89b2b3374e8a
Contents?: true
Size: 1.08 KB
Versions: 10
Compression:
Stored size: 1.08 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 ``` ### Faml, 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> ``` ### Faml, 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> ``` ### Faml, Hamlit ```html <a title=''"'></a> <a href='/search?foo=bar&hoge=<fuga>'></a> ```
Version data entries
10 entries across 10 versions & 1 rubygems