Commit Graph

18 Commits

Author SHA1 Message Date
Nathan Weizenbaum b597927bed Merge branch 'stable' 2008-11-28 15:44:23 -08:00
Nathan Weizenbaum 2eca01466e Don't try to create self-closing tags in html2haml.
Haml automatically self-closes most of the necessary tags,
and <div /> and friends do wacky things.
2008-11-27 14:04:50 -08:00
Nathan Weizenbaum 24bd863573 Add a Haml::Util class for nifty utility functions. 2008-11-22 19:17:06 -08:00
Mislav Marohnić 8a263c4f1e html2haml: fix whitespace eating erb tags 2008-10-16 23:37:08 +02:00
Mislav Marohnić 06212371fc html2haml: support multiple interpolations in attributes 2008-10-16 22:31:24 +02:00
Mislav Marohnić f2bd161544 html2haml: fix interpolation with trailing content 2008-10-16 22:30:57 +02:00
Mislav Marohnić 9ce2a46adf html2haml: rhtml in attribute can result in Ruby string interpolation 2008-10-16 11:50:55 +02:00
Mislav Marohnić 5a447751cc html2haml: handle dynamic attributes (RHTML mode) 2008-10-16 11:50:55 +02:00
Mislav Marohnić 6d8feeb378 html2haml: fix HTML entities being escaped in erb blocks 2008-10-16 11:50:55 +02:00
Nathan Weizenbaum 1a0d994e3a html2haml should pre-escape HTML entities. 2008-08-03 00:05:36 -04:00
Nathan Weizenbaum 1a23b54d3b html2haml --rhtml shouldn't add semicolons for multiline <%= %> blocks.
This breaks when there are actually multiple statments,
but that occurs very rarely.
2008-07-02 00:41:11 -04:00
Nathan Weizenbaum 84fdde13a5 Get rid of trailing whitespace. 2008-04-07 23:09:17 -07:00
nex3 08349dbfa8 Allow html2haml to use the Hpricot's stricter XML parsing mode.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@692 7063305b-7217-0410-af8c-cdc13e5119b9
2007-12-11 10:30:14 +00:00
nex3 0b9b2dd742 Adding pretty attributes + tests to html2haml. Patch by Mislav Marohnic.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@573 7063305b-7217-0410-af8c-cdc13e5119b9
2007-07-24 09:15:27 +00:00
nex3 47d757c7d4 html2haml -r should unescape HTML after parsing. Thanks to Michael O'Malley. Also a tiny bit of reformatting in engine.rb.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@564 7063305b-7217-0410-af8c-cdc13e5119b9
2007-07-16 05:01:45 +00:00
nex3 7226e478b5 Some progress made on html2haml understanding ERB. Loops remain a problem.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@491 7063305b-7217-0410-af8c-cdc13e5119b9
2007-04-10 00:29:57 +00:00
nex3 633d68594c html2haml sets the proper DocType
git-svn-id: svn://hamptoncatlin.com/haml/trunk@478 7063305b-7217-0410-af8c-cdc13e5119b9
2007-04-01 21:37:00 +00:00
nex3 2a5337bff0 Make html2haml usable from withing Ruby, using the Haml::HTML class and/or the Hpricot to_haml extension.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@475 7063305b-7217-0410-af8c-cdc13e5119b9
2007-04-01 08:45:39 +00:00