diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js index 0f846c81..4225665c 100644 --- a/static/js/apiDialog.js +++ b/static/js/apiDialog.js @@ -178,11 +178,10 @@ pandora.ui.apiDialog = function() { }) .appendTo($text); $('
') - .html('
' + source.split(':')[0] + '') + .html('
' + source + '') .appendTo($text); $code = Ox.SyntaxHighlighter({ - showLineNumbers: true, - source: code.replace(/\s*?'''[\s\S]+?'''\n/g, ''), + source: code.replace(/\s*?'''[\s\S]+?'''/g, ''), offset: line }) .css({