fix handling of html forms to display in FormEntryHandlerExtension