Automatically escape TextPrepend and TextAppend.