Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complex types are not escaped #41

Open
wms opened this issue Aug 21, 2015 · 1 comment
Open

Complex types are not escaped #41

wms opened this issue Aug 21, 2015 · 1 comment

Comments

@wms
Copy link
Contributor

wms commented Aug 21, 2015

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 #40

@Dachaz
Copy link

Dachaz commented Apr 7, 2016

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>>**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants