isagalaev/highlight.js — pull request #458 by chriseidhof (2014-04-22 10:48:11+00:00)
Title: Added support for Java Generics

Hey,

I had a strange bug: Java Generics weren't highlighted when using the API programatically (it was working when highlighting from the DOM):

hljs.highlight("java", "public class MyProvider implements Provider { }")

This removes '<' from the illegal characters. However, I'm not sure if it's a correct fix, it fixes my issue, but maybe someone with more experience can have a look at it?