markdox
markdox copied to clipboard
Complex types are not escaped
If I have a complex type like Promise<Object>, it is passed verbatim to the Markdown layer as **Promise.<Object>** - this will be interpreted as an HTML tag <object>, and won't be rendered correctly.
Escaping this opening bracked should solve this (ie, **Promise.\<Object>**)
Fixed by https://github.com/cbou/markdox/pull/40
It seems that it's only partially fixed: if you have a complex type like Promise<Object[]> it becomes **Promise.\<Array.<Object>>** where you still end up with a HTML tag <Object>.
Additional escaping would solve this: **Promise.\<Array.\<Object>>**