diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js index 17e01af86..4133aba53 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/g, ''), + source: code.replace(/\s*?'''.+?'''\n/gs, ''), offset: line }) .css({