aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_view_overview.md
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-08-23 17:59:11 +0200
committerXavier Noria <fxn@hashref.com>2013-08-23 17:59:11 +0200
commitb77f25cb8479a8ff6c93b1d6bbf0771e5368434f (patch)
tree9bcab0db7d4f3b70318441342c585cd7cea0e84a /guides/source/action_view_overview.md
parentbdb2d5f3373836388b0d7e9255ab82687e5c3f06 (diff)
downloadrails-b77f25cb8479a8ff6c93b1d6bbf0771e5368434f.tar.gz
rails-b77f25cb8479a8ff6c93b1d6bbf0771e5368434f.tar.bz2
rails-b77f25cb8479a8ff6c93b1d6bbf0771e5368434f.zip
cleans the guides sources from fancy non-ASCII stuff
Diffstat (limited to 'guides/source/action_view_overview.md')
-rw-r--r--guides/source/action_view_overview.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md
index f7d2016784..5cda104138 100644
--- a/guides/source/action_view_overview.md
+++ b/guides/source/action_view_overview.md
@@ -152,7 +152,7 @@ By default, Rails will compile each template to a method in order to render it.
### Partials
-Partial templates – usually just called "partials" – are another device for breaking the rendering process into more manageable chunks. With partials, you can extract pieces of code from your templates to separate files and also reuse them throughout your templates.
+Partial templates - usually just called "partials" - are another device for breaking the rendering process into more manageable chunks. With partials, you can extract pieces of code from your templates to separate files and also reuse them throughout your templates.
#### Naming Partials
@@ -1526,7 +1526,7 @@ The SanitizeHelper module provides a set of methods for scrubbing text of undesi
#### sanitize
-This sanitize helper will html encode all tags and strip all attributes that aren’t specifically allowed.
+This sanitize helper will html encode all tags and strip all attributes that aren't specifically allowed.
```ruby
sanitize @article.body
@@ -1583,7 +1583,7 @@ strip_tags("<b>Bold</b> no more! <a href='more.html'>See more</a>")
# => Bold no more! See more
```
-NB: The output may still contain unescaped ‘<’, ‘>’, ‘&’ characters and confuse browsers.
+NB: The output may still contain unescaped '<', '>', '&' characters and confuse browsers.
Localized Views