# -----------------------------------------------------------------------------
# send hipchat message
-send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" "<b>${alarm}</b> ${info_html}<br/> <br/><small><b>${chart}</b><br/>Chart<br/> </small><br/><small><b>${family}</b><br/>Family<br/> </small><br/><small><b>${severity}</b><br/>Severity<br/> </small><br/><small><b>${date}${raised_for_html}</b><br/>Time<br/> </small><br/><a href=\"${goto_url}\">View Netdata</a><br/> <br/><small><small>The source of this alarm is line ${src}</small></small>"
-SENT_HIPCHAT=$?
+send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" "\
+<b>${alarm}</b> ${info_html}<br/> \
+<small><b>${chart}</b><br/>Chart<br/> </small>\
+<small><b>${family}</b><br/>Family<br/> </small>\
+<small><b>${severity}</b><br/>Severity<br/> </small>\
+<small><b>${date}${raised_for_html}</b><br/>Time<br/> </small>\
+<a href=\\\"${goto_url}\\\">View Netdata</a><br/> \
+<small><small>The source of this alarm is line ${src}</small></small>\
+"
+SENT_HIPCHAT=$?
# -----------------------------------------------------------------------------
# send the email