In HTML we shall use following escape characters: " " & & < < > > However, if someone occasionally uses "&<> in nicknames of their Pokemons, these will be recorded into the HTML log, which may cause the HTML displayed incorrectly. Actually I found a log, where in all lines with "UseAttack" messages, "&" is converted to &, but in all the other lines, "&" is kept as "&".
I guess I never replied to this, can you post an example? I don't battle, but I'm assuming this is one of the saved battle logs?
Sorry I cannot find the original one now. This problem can be reproduced by a username with a "&". However, most browsers are able to deal with non-standard htmls, so there is no display problem in most cases (And the problem is browser depenent), the only behaviour is that some "&" is kept in the source file of HTML log.