forked from 0x2620/pandora
fix regexp
This commit is contained in:
parent
8c708a9d9f
commit
c5d2432320
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue