@invernomut0 Then, when if you switch to src edit buffer for that problematic source code and run M-x htmlize-buffer? Will the classes show up?