It would be nice to really treat attributes as literals when the option 'LiteralAttribs' is selected. In addition to current functionality of 'LiteralAttribs', also the entities inside attributes should not be processed. Possible solution:
/* this line (2497), should be replaced */ //if (c == '&') /* by this one */ if (munge && c == '&')
Logged In: NO
Lexer.java