diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js index 5d6ba70ca..1fcbf2d17 100644 --- a/static/js/apiDialog.js +++ b/static/js/apiDialog.js @@ -129,7 +129,7 @@ pandora.ui.apiDialog = function() { see: action, action, ... */ var $doc = Ox.SyntaxHighlighter({ - source: string.replace( + source: '\n' + string.replace( /\n(?=(takes \{|returns \{|note: |see: ))/g, '\n\n' ).replace( /(takes|returns|notes|see)(?=( \{|: ))/g, 'BOLD$1BOLD'