export highlights only if highlighted text is not nil