[gen.p6] html escape fix

should escape only in *.atom