Stop the formatter throwing an error when the text is undefined.