hmm this should be `encodeURIComponent(html)`