1

For example: convertHTML("Dolce & Gabbana") should return Dolce & Gabbana

Fabrizio Calderan
  • 115,126
  • 25
  • 163
  • 167
Russel Santos
  • 27
  • 1
  • 10
  • the cheating way .... create a HTMLElement like a span or div etc ... add the text as innerText ... retrieve it from innerHTML – Jaromanda X Dec 10 '19 at 12:12

0 Answers0