From a4425471fd5f51c183d06ca0f8f06c0b1549c2d8 Mon Sep 17 00:00:00 2001 From: Wieland Hoffmann Date: Tue, 30 Aug 2011 10:42:34 +0300 Subject: [PATCH] alert(html) in the heredoc example --- documentation/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/index.html.erb b/documentation/index.html.erb index e41b548b..3e6cb9cb 100644 --- a/documentation/index.html.erb +++ b/documentation/index.html.erb @@ -842,7 +842,7 @@ Expressions indentation level that begins the heredoc is maintained throughout, so you can keep it all aligned with the body of your code.

- <%= code_for('heredocs') %> + <%= code_for('heredocs', 'html') %>

Double-quoted heredocs, like double-quoted strings, allow interpolation.