Add content to link title attributes
This commit is contained in:
parent
e79a3b6aa2
commit
54a32a2e97
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module Redcarpet
|
|||
}
|
||||
|
||||
unless href.starts_with?('/')
|
||||
html_options.merge!(title: new_tab_suffix(title), **external_link_attributes)
|
||||
html_options.merge!(title: new_tab_suffix(content), **external_link_attributes)
|
||||
end
|
||||
|
||||
content_tag(:a, content, html_options, false)
|
||||
|
|
Loading…
Reference in a new issue