From edea7b6f0aaec4ee5fbbfed1c77a7417afedd615 Mon Sep 17 00:00:00 2001 From: yui-knk Date: Sun, 7 Jun 2015 22:07:12 +0900 Subject: [ci skip] Fix order to match options order --- guides/source/action_view_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md index 950bb5e358..6ebeb23409 100644 --- a/guides/source/action_view_overview.md +++ b/guides/source/action_view_overview.md @@ -1428,7 +1428,7 @@ This sanitize helper will HTML encode all tags and strip all attributes that are sanitize @article.body ``` -If either the `:attributes` or `:tags` options are passed, only the mentioned tags and attributes are allowed and nothing else. +If either the `:attributes` or `:tags` options are passed, only the mentioned attributes and tags are allowed and nothing else. ```ruby sanitize @article.body, tags: %w(table tr td), attributes: %w(id class style) -- cgit v1.2.3