From c5d2432320d3bb473113a28048dd272695be22ca Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 17 Dec 2014 17:08:51 +0000 Subject: [PATCH] fix regexp --- static/js/apiDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js index 17e01af8..4133aba5 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({