JSDoc hovers not properly showing array types #228

aeisenberg opened this Issue Feb 21, 2013 · 0 comments


None yet

1 participant


Consider the following function and comment:

 * Extracts all doccomments that fall inside the given range
 * @param {Array.<range:Array.<Number>>} doccomments
 * @param {Array.<Number>} range
 * @return {{value:String,range:Array.<Number>}}
function extractDocComments(doccomments, range) {


Inside of the array tags, the contents are missing. This is because we directly translate the lines into HTML. The browser considers what's inside the array tags to be HTML tags, not JSDoc tags.

It's not safe to directly turn text into HTML (potential cross-site scripting problems), so this needs to change anway.

@aeisenberg aeisenberg was assigned Feb 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment