htmlawed and allowing classes
In my forum I have Markdown which outputs classes for the syntax highlighter to indicate what language it should highlight the code in (GFM style). I've just been testing the 2.2 update (I'm a bit slow off the mark here!) and have found that the Htmlawed plug-in included in 2.2 now has more advanced security and will strip classes unless they are listed - makes sense!
However, adding the classes In need to allow to the
AllowedClasses array doesn't appear to make any difference to the output in my forum - htmlawed is still stripping the classes. If I bypass Htmlawed then the output works as expected, but that obviously isn't ideal.
I've also tried removing the
class option from the
deny_attribute list and that makes no difference.
Does any one have any suggestions for how classes can be allowed in the output?