fix regexp

This commit is contained in:
rolux 2014-12-17 17:08:51 +00:00
parent 8c708a9d9f
commit c5d2432320

View file

@ -182,7 +182,7 @@ pandora.ui.apiDialog = function() {
.appendTo($text); .appendTo($text);
$code = Ox.SyntaxHighlighter({ $code = Ox.SyntaxHighlighter({
showLineNumbers: true, showLineNumbers: true,
source: code.replace(/\s*?'''.+?'''\n/g, ''), source: code.replace(/\s*?'''.+?'''\n/gs, ''),
offset: line offset: line
}) })
.css({ .css({