As I've already said in another answeranother answer, this could be helped if the language could be inferred from the tags. That way, this fix would work retroactively, and the work flow wouldn't change.
I know that prettify does have a way to specify the language, it would be only a matter of using that.