From 5acf5331cfdd9e75b1f2873e6dfcf8e104d8003d Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 17 Dec 2014 16:59:48 +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 89dc7aa1..17e01af8 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/g, ''), offset: line }) .css({