cleanup of decodeHtml() function

removed duplicates
Merge branch 'refs/heads/dhwz'