Fix HTML encoding output support. (This should have been committed on 30 Jan 2013, when the same change was made to trunk and gramps40, and around the same time when related changes were made to gramps34)

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps34@21346 4ae1f11a-8b86-4847-b8af-ab372f36d1fd