diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js index 4133aba53..0f846c816 100644 --- a/static/js/apiDialog.js +++ b/static/js/apiDialog.js @@ -182,7 +182,7 @@ pandora.ui.apiDialog = function() { .appendTo($text); $code = Ox.SyntaxHighlighter({ showLineNumbers: true, - source: code.replace(/\s*?'''.+?'''\n/gs, ''), + source: code.replace(/\s*?'''[\s\S]+?'''\n/g, ''), offset: line }) .css({