haml2slim icon indicating copy to clipboard operation
haml2slim copied to clipboard

Error converting tags with attributes

Open andrewkolesnikov opened this issue 11 years ago • 1 comments

For example, %a{:href => ""} foo produces a href="#" (foo is lost)

Also,

#slideWidget{'data-slideshow-nav' => 'true', 'data-slideshow-pager' => 'true', 'data-slideshow-captions' => 'false'} produces #slideWidget 'data-slideshow-nav' =(>)'true', 'data-slideshow-pager' =(>)'true', 'data-slideshow-captions' =(>)'false'

andrewkolesnikov avatar Mar 07 '13 21:03 andrewkolesnikov

Could latter be ruby new style hashes related? $ ruby -v ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin10.8.0]

andrewkolesnikov avatar Mar 07 '13 21:03 andrewkolesnikov