Properly display newlines in function signatures

This commit is contained in:
Natalie Weizenbaum 2019-03-19 13:56:21 -07:00
parent e22698388e
commit 416f463590

View File

@ -387,7 +387,7 @@ MARKDOWN
name_element['name'] = name
end
signature_elements.map(&:to_html).join.strip
signature_elements.map(&:to_html).join.strip.gsub("\n", "&#x0000A")
end
merged_signatures = highlighted_signatures.join("&#x0000A")