We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f047aa + 3f8ba27 commit 78857baCopy full SHA for 78857ba
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