From 416f4635907629f232f90f4c7bf5876424e977b7 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Tue, 19 Mar 2019 13:56:21 -0700 Subject: [PATCH] Properly display newlines in function signatures --- helpers/sass_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/sass_helpers.rb b/helpers/sass_helpers.rb index fa4c334..e7b9ffd 100644 --- a/helpers/sass_helpers.rb +++ b/helpers/sass_helpers.rb @@ -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", " ") end merged_signatures = highlighted_signatures.join(" ")