From 965e66eb6ba5bbd8b4d89ba8cc60e2a05c658855 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 17 Jul 2017 21:03:11 +0900 Subject: [PATCH] Fix reference about filter HTML-escape See: https://github.com/haml/haml/issues/940#issuecomment-315695441 --- REFERENCE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index 707c01edad..00c8178045 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -1120,8 +1120,8 @@ is compiled to

I really prefer raspberry jam.

-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