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

Java generics are turned into xml tags #628

Closed
s17t opened this issue Nov 4, 2014 · 1 comment
Closed

Java generics are turned into xml tags #628

s17t opened this issue Nov 4, 2014 · 1 comment

Comments

@s17t
Copy link

s17t commented Nov 4, 2014

Hi,
as shows in this jsfiddle 8.3 version can't highlight Java generics. Generics are turned into xml.

@isagalaev
Copy link
Member

You have to escape < and > with &lt; and &gt; if you want them to be displayed literally. The <code> tag in HTML doesn't do any escaping by default, so the browser treats those generics in your code as usual tags.

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