Skip to content

Commit

Permalink
Docs: Clarify changes to escaping of quotes
Browse files Browse the repository at this point in the history
An example will help people (like me) understand this breaking
change.

[ci skip]
  • Loading branch information
jaredbeck committed May 2, 2017
1 parent c67e672 commit a4f6081
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 a4f6081

Please sign in to comment.