I just added a test for this - the answer is yes, it does escape the text.