提交 b6bfcc91 编写于 作者: M Matt Duncan

Fix syntax error in example

上级 f274394a
......@@ -19,7 +19,7 @@ module Helpers #:nodoc:
# simple_format('<a href="http://example.com/">Example</a>')
# # => "<p><a href=\"http://example.com/\">Example</a></p>"
#
# simple_format('<a href="javascript:alert('no!')">Example</a>')
# simple_format('<a href="javascript:alert(\'no!\')">Example</a>')
# # => "<p><a>Example</a></p>"
#
# If you want to escape all content, you should invoke the +h+ method before
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册