update api docs parser

This commit is contained in:
rolux 2014-12-18 14:43:11 +00:00
parent 35ab1fe547
commit 3223b291ae

View file

@ -147,7 +147,7 @@ pandora.ui.apiDialog = function() {
$doc.find('.Ox' + type).removeClass('Ox' + type); $doc.find('.Ox' + type).removeClass('Ox' + type);
}); });
$doc.html( $doc.html(
$doc.html().replace(/BOLD([\w\:]+)BOLD/g, '<b>$1</b>') $doc.html().replace(/BOLD(\S+)BOLD/g, '<b>$1</b>')
); );
parts = $doc.html().split('<b>notes:</b>'); parts = $doc.html().split('<b>notes:</b>');
if (parts.length == 2) { if (parts.length == 2) {