old_contents: from shutil import which
  import sys
  
  from coalib.bearlib.abstractions.Linter import linter
  from coalib.bears.requirements.PipRequirement import PipRequirement
  from coalib.settings.Setting import typed_list
  
  
  @linter(executable=sys.executable,
          output_format='regex',
          output_regex=r'(?P<line>\d+):(?P<column>\d+): '
                       r'(?P<severity>Error|Warning|Info): (?P<message>.+)')
  class HTMLLintBear:
      """
      Check HTML source code for invalid or misformatted code.
  
      See also <https://pypi.python.org/pypi/html-linter>.
      """
  
      _html_lint = which('html_lint.py')
  
      LANGUAGES = {"HTML"}
      REQUIREMENTS = {PipRequirement('html-linter', '0.3.*')}
      AUTHORS = {'The coala developers'}
      AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
      LICENSE = 'AGPL-3.0'
  
      @staticmethod
      def create_arguments(filename, file, config_file,
                           htmllint_ignore: typed_list(str)=()):
          """
          :param htmllint_ignore: List of checkers to ignore.
          """
          ignore = ','.join(part.strip() for part in htmllint_ignore)
          return HTMLLintBear._html_lint, '--disable=' + ignore, filename
  
new_contents: from shutil import which
  import sys
  
  from coalib.bearlib.abstractions.Linter import linter
  from coalib.bears.requirements.PipRequirement import PipRequirement
  from coalib.settings.Setting import typed_list
  
  
  @linter(executable=sys.executable,
          output_format='regex',
          output_regex=r'(?P<line>\d+):(?P<column>\d+): '
                       r'(?P<severity>Error|Warning|Info): (?P<message>.+)')
  class HTMLLintBear:
      """
      Check HTML source code for invalid or misformatted code.
  
      See also <https://pypi.python.org/pypi/html-linter>.
      """
  
      _html_lint = which('html_lint.py')
  
      LANGUAGES = {"HTML"}
      REQUIREMENTS = {PipRequirement('html-linter', '0.3.*')}
      AUTHORS = {'The coala developers'}
      AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
      LICENSE = 'AGPL-3.0'
      CAN_DETECT = {'Syntax', 'Formatting'}
  
      @staticmethod
      def create_arguments(filename, file, config_file,
                           htmllint_ignore: typed_list(str)=()):
          """
          :param htmllint_ignore: List of checkers to ignore.
          """
          ignore = ','.join(part.strip() for part in htmllint_ignore)
          return HTMLLintBear._html_lint, '--disable=' + ignore, filename
  
subject: Add CAN_DETECT