HtmlUtils::htmlEncode: encoding " ' > in addition to < &
removing compilation warning in dead code
porting to Qt 5