1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/lib/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
..
helpers Fix signature of InstanceTag#content_tag. 2011-11-01 10:56:04 -07:00
html
template Merge branch 'master' into precompiler-refactor 2010-10-26 23:30:36 -07:00
buffer.rb Get rid of Buffer#open_tag entirely, even without :ugly. 2010-10-27 02:17:39 -07:00
compiler.rb Attribute escaping respects html_safe. 2011-12-16 13:12:06 -08:00
engine.rb Merge branch 'master' into precompiler-refactor 2010-10-26 23:30:36 -07:00
error.rb
exec.rb Fix html2haml. 2011-05-20 12:54:52 -07:00
filters.rb Merge branch 'master' into precompiler-refactor 2010-10-26 23:30:36 -07:00
helpers.rb Fix find_and_preserve with the new #gsub behavior. 2011-06-07 19:23:43 -07:00
html.rb [HTML] Get rid of the Haml::HTML::Node trickery. 2010-12-07 09:07:23 -08:00
parser.rb Don't throw errors when text is nested within comments. 2011-05-10 15:27:13 -07:00
railtie.rb Properly print warnings for Rails 2.2+. 2010-09-06 23:48:54 -07:00
root.rb Support appengine-jruby. 2010-06-05 18:00:43 -07:00
shared.rb
template.rb Make Haml work with the latest Rails master. 2011-09-27 14:42:03 -07:00
util.rb Merge branch 'merged' 2010-11-15 22:45:33 -08:00
version.rb Have the main module extend Version in version.rb. 2010-09-06 21:32:12 -07:00