Typedoc: Angle brackets in object key names aren't escaped properly

Created on 23 May 2018  路  2Comments  路  Source: TypeStrong/typedoc

/** important object, document me */
const foo = {
    "<c-a>": "yes, I really used that as a key name",
}

gets turned into

[...]
<div class="tsd-signature tsd-kind-icon"><c-<wbr>6&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> =&nbsp;"yes, I really used that as a key name"</span></c-<wbr></div>
[...]

which renders as

a>: = "yes, I really used that as a key name"

rather than the desired

<c-a>: = "yes, I really used that as a key name"

I realise it's probably pretty niche, so I'd be happy to have a crack at fixing it myself if anyone could point me in the right direction.

Thanks!

bug help wanted

All 2 comments

Fixed in 0.15.1 :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iveetoo picture iveetoo  路  15Comments

ocombe picture ocombe  路  20Comments

PascalSenn picture PascalSenn  路  26Comments

doberkofler picture doberkofler  路  17Comments

manrajgrover picture manrajgrover  路  29Comments