I'm using Google's closure compiler to compile my JavaScript projects. This
compiler supports advanced type expressions (See
https://developers.google.com/closure/compiler/docs/js-for-compiler#types).
So a function returning a list of MyClass objects may look like this:
/**
* @return {Array.<MyClass>}
*/
function foobar() {}
The HTML output of JsDoc only shows the type "{Array.}" becaue the characters
'<' and '>' are not escaped to < and > properly.
I'm not asking for supporting the advanced type expressions of Google's closure
compiler (Sure, it would be pretty cool to have a link on the type parameter
"MyClass") but please implement at least a proper HTML-escaping for the output
of types.
I'm using jsdoc-toolkit version 2.4.0.
Original issue reported on code.google.com by k@ailis.de on 4 May 2012 at 3:11
Original issue reported on code.google.com by
k@ailis.de
on 4 May 2012 at 3:11