Fix Prettifier xml stack overflow error