jsdoc: convert <code> blocks to <pre>.

This commit is contained in:
Jonathan Puckey 2011-05-27 13:55:41 +02:00
parent d95342c8b8
commit 1821dcd415

View file

@ -277,6 +277,8 @@ function processGroupTitle(str, symbol) {
}
function processInlineTags(str) {
// <code>..</code> -> <pre>..</pre>
str = str.replace(/<(\/)*(code)>/g, '<$1pre>');
// {@link ...} -> html links
str = str.replace(/\{@link ([^} ]+) ?\}/gi,