fix implicit textOnly and lint error

fixes nodesecurity/nodesecurity-blog#4