class Playbook::PbBody::Body
def apply_highlight(text)
def apply_highlight(text) pb_highlight_output = pb_rails("highlight") { "|" } highlight_tags = pb_highlight_output.split("|") highlight(text, highlighted_text, highlighter: "#{highlight_tags.first.html_safe} \\1 #{highlight_tags.last.html_safe}") end