Posted in the B4J Code Snippets forum: https://www.b4x.com/android/forum/threads/class-b4x-wmhtml-remove-html-tags-and-replace-html-entities-with-their-corresponding-characters.162596/