fix for using icon text and trying to apply html_safe to nil