Fixing invalid XML causes errors in comments