Skip to content

Commit

Permalink
Merge pull request #918 from jaredbeck/clarify_changes_to_escaping
Browse files Browse the repository at this point in the history
Docs: Clarify changes to escaping of quotes
  • Loading branch information
k0kubun committed May 2, 2017
2 parents 989aa08 + a4f6081 commit 2d97f3f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ Breaking Changes
* Drop dynamic quotes support and always escape `'` for `escape_html`/`escape_attrs` instead.
Also, escaped results are slightly changed and always unified to the same characters. (Takashi Kokubun)
* Don't preserve newlines in attributes. (Takashi Kokubun)
* HTML escape interpolated code in filters.
[#770](https://github.com/haml/haml/pull/770)
(Matt Wildig)

:javascript
#{JSON.generate(foo: "bar")}
Haml 4 output: {"foo":"bar"}
Haml 5 output: {"foo":"bar"}

Added

Expand Down

0 comments on commit 2d97f3f

Please sign in to comment.