fix regexp

This commit is contained in:
rolux 2014-12-17 16:59:48 +00:00
parent 5cdddc8ba8
commit 5acf5331cf

View file

@ -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({