mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Fixed bug that sometimes caused @lends tags to be mangled by the parsers pretreater method. (hat tip to rotorz).
This commit is contained in:
parent
9f742529f6
commit
3d2c6960a5
@ -121,7 +121,7 @@
|
|||||||
// merge adjacent doclets
|
// merge adjacent doclets
|
||||||
.replace(/\*\/\/\*\*+/g, '@also')
|
.replace(/\*\/\/\*\*+/g, '@also')
|
||||||
// make lent objectliterals documentable by giving them a dummy name
|
// make lent objectliterals documentable by giving them a dummy name
|
||||||
.replace(/(\/\*\*[\s\S]*@lends\b[\s\S]*\*\/\s*)\{/g, '$1____ = {');
|
.replace(/(\/\*\*[\s\S]*?@lends\b[\s\S]*?\*\/\s*)\{/g, '$1____ = {');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user