mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
jsdoc: convert <code> blocks to <pre>.
This commit is contained in:
parent
d95342c8b8
commit
1821dcd415
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue