fix htmlEncodeTagged handling of html comments
Merge remote-tracking branch 'origin/1.4.5' into slideshow-changes