Given you got the above escaping wrong, I think it is prudent to double check ->text is safe to use without escaping. I forgot if it is or not, still thinking of this as the new i18n api :)