diff --git a/website/api/helpers/strings/to-html.js b/website/api/helpers/strings/to-html.js
index 91e29a5273..5182528b98 100644
--- a/website/api/helpers/strings/to-html.js
+++ b/website/api/helpers/strings/to-html.js
@@ -94,7 +94,11 @@ module.exports = {
};
} else {
customRenderer.heading = function (text, level) {
- return ''+text+'';
+ var textWithLineBreaks;
+ if(text.match(/\S(\w+\_\S)+(\w\S)+/g) && !text.match(/\s/g)){
+ textWithLineBreaks = text.replace(/(\_)/g, '_');
+ }
+ return ''+(textWithLineBreaks ? textWithLineBreaks : text)+'';
};
}