diff --git a/build/jsdoc-toolkit/templates/jsdoc/publish.js b/build/jsdoc-toolkit/templates/jsdoc/publish.js index 338650cc..904ff326 100644 --- a/build/jsdoc-toolkit/templates/jsdoc/publish.js +++ b/build/jsdoc-toolkit/templates/jsdoc/publish.js @@ -293,6 +293,13 @@ function processInlineTags(str, param) { return '' + code + ''; } ); + + // {@true ...} -> true if.. false otherwise.. + str = str.replace(/\{@true[\s]([^}]+)\}/gi, + function(match, text) { + return 'true ' + text + ', false otherwise'; + } + ); var lineBreak = java.lang.System.getProperty('line.separator');