Takashi Kokubun
e9b8f36950
Don't preserve newlines in attributes
2017-02-09 03:28:33 +09:00
Takashi Kokubun
d0086ec86d
Escape '
to '
instead of '
...
to unify specification with CGI.escapeHTML.
2017-02-09 01:18:30 +09:00
Takashi Kokubun
34d9ff15b2
Drop support for escape_attrs: :always
...
which is not handled and documented.
2017-02-09 01:18:10 +09:00
Takashi Kokubun
af8257c7db
Always use the same quotes for attributes
2017-02-09 00:45:08 +09:00
Takashi Kokubun
18576ae6e9
Always escape '
in Haml::Helpers.#html_escape.
...
In some tests, `attr_wrapper` is changed to be ignored.
I'll split its fix to other commis because not Haml::Helpers but
Haml::AttributeBuilder is responsible for that.
2017-02-09 00:29:57 +09:00
Takashi Kokubun
0fc2b07c2d
Fix warnings in pretty tests
...
related to require https://github.com/haml/haml/pull/899
2017-02-07 19:37:54 +09:00
Takashi Kokubun
9b1976ab1d
Duplicate tests for ugly mode
2017-02-07 14:18:44 +09:00