Skip to content

Commit

Permalink
Fix reference about filter HTML-escape
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Jul 17, 2017
1 parent f88be3d commit 965e66e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions REFERENCE.md
Expand Up @@ -1120,8 +1120,8 @@ is compiled to
<p>I <strong>really</strong> prefer <em>raspberry</em> jam.</p>
</div>

Currently, filters ignore the {Haml::Options#escape_html `:escape_html`} option.
This means that `#{}` interpolation within filters is never HTML-escaped.
Note that `#{}` interpolation within filters is HTML-escaped if you specify
{Haml::Options#escape_html `:escape_html`} option.

The functionality of some filters such as Markdown can be provided by many
different libraries. Usually you don't have to worry about this - you can just
Expand Down

0 comments on commit 965e66e

Please sign in to comment.