提交 edea7b6f 编写于 作者: Y yui-knk

[ci skip] Fix order to match options order

上级 423f1418
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册