We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a8c766 commit 3f8ba27Copy full SHA for 3f8ba27
1 file changed
faq.markdown
@@ -245,9 +245,9 @@ for the tip!
245
How do I automatically escape HTML? {#auto_escape_html}
246
---------------------
247
248
-Require [Erubis](https://rubygems.org/gems/erubis) and set `escape_html` to `true`:
+Require [Erubis](https://rubygems.org/gems/erubis) or [Erubi](https://rubygems.org/gems/erubi) and set `escape_html` to `true`:
249
250
- require 'erubis'
+ require 'erubis' # or 'erubi'
251
set :erb, :escape_html => true
252
253
Then, any templates rendered with Erubis will be automatically escaped:
0 commit comments