1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/test/haml
Gerad Suyderhoud e4510a94b7 Attribute escaping respects html_safe.
It's sometimes the case where we don't want attributes to be
html_escaped... for instance `%input{ placeholder: 'Filter…' }`.

This commit changes the attribute escaping to respect the rails
`html_safe` flag and not escape attributes when `.html_safe` is
explicitly called on them.

Closes #470
2011-12-16 13:12:06 -08:00
..
erb Make the standard benchmark file tougher on Haml. 2010-10-27 01:23:27 -07:00
html2haml [Haml] [html2haml] Teach Hpricot that haml:* tags can contain one another. 2010-11-15 21:52:33 -08:00
markaby New benchmark code. The old one syphoned some stuff through ActionView, which distorted the results. 2007-11-22 03:43:33 +00:00
mocks
results Make the standard benchmark file tougher on Haml. 2010-10-27 01:23:27 -07:00
spec@7e563d6f5c [Haml] Update to the latest haml-spec version. 2010-01-16 15:34:27 -08:00
templates Get rid of a warning on Rails master. 2011-09-27 14:44:06 -07:00
engine_test.rb Fix a weird indentation bug. 2011-11-23 17:05:39 -08:00
helper_test.rb Fix #capture when run with a block that returns a string. 2011-05-10 14:55:18 -07:00
html2haml_test.rb Don't use test_erb when it's not necessary. 2011-09-21 17:14:31 -07:00
spec_test.rb Merge branch 'stable' 2010-01-11 02:50:23 -08:00
template_test.rb Attribute escaping respects html_safe. 2011-12-16 13:12:06 -08:00
util_test.rb [Sass] Add a wrapper for NotImplementedErrors. 2010-09-06 14:28:56 -07:00