code: def setup_html_filter(portal):
      
      logger.info("*** Setup HTML Filter ***")
      # bypass the broken API from portal_transforms
      adapter = IFilterSchema(portal)
      style_whitelist = adapter.style_whitelist
      for style in ALLOWED_STYLES:
          logger.info("Allow style '{}'".format(style))
          if style not in style_whitelist:
              style_whitelist.append(style)
      adapter.style_whitelist = style_whitelist
docs: Setup HTML filtering for resultsinterpretations