Skip to content

Commit

Permalink
Merge pull request #41416 from tjschuck/fix_highlight_docs
Browse files Browse the repository at this point in the history
Fix formatting in highlight docs
  • Loading branch information
rafaelfranca committed Feb 11, 2021
1 parent 2ca0d66 commit bc9c1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/helpers/text_helper.rb
Expand Up @@ -105,7 +105,7 @@ def truncate(text, options = {}, &block)
# Highlights one or more +phrases+ everywhere in +text+ by inserting it into
# a <tt>:highlighter</tt> string. The highlighter can be specialized by passing <tt>:highlighter</tt>
# as a single-quoted string with <tt>\1</tt> where the phrase is to be inserted (defaults to
# '<mark>\1</mark>') or passing a block that receives each matched term. By default +text+
# <tt><mark>\1</mark></tt>) or passing a block that receives each matched term. By default +text+
# is sanitized to prevent possible XSS attacks. If the input is trustworthy, passing false
# for <tt>:sanitize</tt> will turn sanitizing off.
#
Expand Down

0 comments on commit bc9c1fe

Please sign in to comment.