can we move `addslashes` inline into `escapeHtml` since its all for the same purpose i assume