escape newlines in hc_secure