Special characters in /etc/nagios/resource.cfg - how do i mask them?

Looks like my issue here:

And also here:

But it seems no one knows how to solve…