diff options
author | yui-knk <spiketeika@gmail.com> | 2015-06-07 22:07:12 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-06-07 22:07:12 +0900 |
commit | edea7b6f0aaec4ee5fbbfed1c77a7417afedd615 (patch) | |
tree | 46c68c0bcc6cbd79c031a8b5d6d5cc0349d34c42 /guides | |
parent | 423f14183f31565cc68d0674733b7b9edf3814a6 (diff) | |
download | rails-edea7b6f0aaec4ee5fbbfed1c77a7417afedd615.tar.gz rails-edea7b6f0aaec4ee5fbbfed1c77a7417afedd615.tar.bz2 rails-edea7b6f0aaec4ee5fbbfed1c77a7417afedd615.zip |
[ci skip] Fix order to match options order
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/action_view_overview.md | 2 |
1 files changed, 1 insertions, 1 deletions
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) |