Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Fix the erubis auto escape faq bit. #101

merged 1 commit into from

2 participants


I just updated the erubis auto escape bit in the faq, since #erubis is warning and the config setting no longer works as it was.

It's possible it should reference that older versions should still reference erubis for config and rendering.

@rkh rkh merged commit 635536e into sinatra:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 11, 2013
  1. @bemurphy
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 faq.markdown
4 faq.markdown
@@ -267,12 +267,12 @@ How do I automatically escape HTML? {#auto_escape_html}
Require [Erubis]( and set `escape_html` to `true`:
require 'erubis'
- set :erubis, :escape_html => true
+ set :erb, :escape_html => true
Then, any templates rendered with Erubis will be automatically escaped:
get '/' do
- erubis :index
+ erb :index
Read more on the [Tilt Google Group](!topic/tiltrb/PPm-sMz6Swc) and see [this example app]( for details.
Something went wrong with that request. Please try again.