Escape ampersands in URLs when exporting HTML for embedding