haml2slim
haml2slim copied to clipboard
Error converting tags with attributes
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'
Could latter be ruby new style hashes related?
$ ruby -v ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin10.8.0]