From 6e46ba397ec96a4405811ee82b4d6260007639ad Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 23 Aug 2015 21:07:05 +0900 Subject: fix syntax error in strip_links example [ci skip] can not use double quotes in double quoted string without escape --- guides/source/action_view_overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guides/source') diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md index db7eeed19a..00c41a480e 100644 --- a/guides/source/action_view_overview.md +++ b/guides/source/action_view_overview.md @@ -1443,12 +1443,12 @@ Sanitizes a block of CSS code. Strips all link tags from text leaving just the link text. ```ruby -strip_links("Ruby on Rails") +strip_links('Ruby on Rails') # => Ruby on Rails ``` ```ruby -strip_links("emails to me@email.com.") +strip_links('emails to me@email.com.') # => emails to me@email.com. ``` -- cgit v1.2.3