diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-03-03 18:29:50 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-03-03 18:29:50 +0900 |
commit | 75a24602edacd3e66b5c38c2b5efe885dfdd14ab (patch) | |
tree | 5c9ea0c15cf7128121c3ca84cd3e2363109a5957 /actionview/lib/action_view | |
parent | c1ad1f67f933008ea9945c980801affe28b90384 (diff) | |
download | rails-75a24602edacd3e66b5c38c2b5efe885dfdd14ab.tar.gz rails-75a24602edacd3e66b5c38c2b5efe885dfdd14ab.tar.bz2 rails-75a24602edacd3e66b5c38c2b5efe885dfdd14ab.zip |
Fix RDoc formatting [ci skip]
The `+` does not work if the string contains spaces.
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/helpers/javascript_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/javascript_helper.rb b/actionview/lib/action_view/helpers/javascript_helper.rb index acc50f8a62..830088bea3 100644 --- a/actionview/lib/action_view/helpers/javascript_helper.rb +++ b/actionview/lib/action_view/helpers/javascript_helper.rb @@ -65,7 +65,7 @@ module ActionView # <% end -%> # # If you have a content security policy enabled then you can add an automatic - # nonce value by passing +nonce: true+ as part of +html_options+. Example: + # nonce value by passing <tt>nonce: true</tt> as part of +html_options+. Example: # # <%= javascript_tag nonce: true do -%> # alert('All is good') |