old_contents: # encoding: utf8
  #
  # spyne - Copyright (C) Spyne contributors.
  #
  # This library is free software; you can redistribute it and/or
  # modify it under the terms of the GNU Lesser General Public
  # License as published by the Free Software Foundation; either
  # version 2.1 of the License, or (at your option) any later version.
  #
  # This library is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  # Lesser General Public License for more details.
  #
  # You should have received a copy of the GNU Lesser General Public
  # License along with this library; if not, write to the Free Software
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
  #
  
  from lxml import etree, html
  
  from spyne.protocol.cloth import XmlCloth
  
  class HtmlBase(XmlCloth):
      mime_type = 'text/html'
  
      def _parse_file(self, file_name, cloth_parser):
          if cloth_parser is None:
              cloth_parser = html.HtmlParser(remove_comments=True)
  
          self._cloth = html.parse(self._cloth, parser=cloth_parser)
          self._cloth = self._cloth.getroot()
  
      def docfile(self, *args, **kwargs):
          return etree.htmlfile(*args, **kwargs)
  
new_contents: # encoding: utf8
  #
  # spyne - Copyright (C) Spyne contributors.
  #
  # This library is free software; you can redistribute it and/or
  # modify it under the terms of the GNU Lesser General Public
  # License as published by the Free Software Foundation; either
  # version 2.1 of the License, or (at your option) any later version.
  #
  # This library is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  # Lesser General Public License for more details.
  #
  # You should have received a copy of the GNU Lesser General Public
  # License along with this library; if not, write to the Free Software
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
  #
  
  from lxml import etree, html
  
  from spyne.protocol.cloth import XmlCloth
  
  class HtmlBase(XmlCloth):
      mime_type = 'text/html'
  
      def _parse_file(self, file_name, cloth_parser):
          if cloth_parser is None:
              cloth_parser = html.HTMLParser(remove_comments=True)
  
          self._cloth = html.parse(self._cloth, parser=cloth_parser)
          self._cloth = self._cloth.getroot()
  
      def docfile(self, *args, **kwargs):
          return etree.htmlfile(*args, **kwargs)
  
subject: fix typo