For example:
convertHTML("Dolce & Gabbana")
should return Dolce & Gabbana
Asked
Active
Viewed 31 times
1

Fabrizio Calderan
- 120,726
- 26
- 164
- 177

Russel Santos
- 27
- 1
- 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