instance method
visit_strong
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
visit_strong(node, child_values)
No documentation comment.
Parameters
-
nodereq -
child_valuesreq
Source
# File actiontext/lib/action_text/markdown_conversion.rb, line 142
def visit_strong(node, child_values)
inner = join_children(child_values)
# lexxy redundantly wraps bold subtrees in `<b>`
if ancestor_named?(node, BOLD_TAGS, max_depth: 4)
inner
else
[ :bold, inner ]
end
end
Defined in actiontext/lib/action_text/markdown_conversion.rb line 142
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::MarkdownConversion