Skip to content

cannot import name 'sanitizer' #277

@erikzenker

Description

@erikzenker

I want install the django cms which uses the sanitizer of the html5lib,
but I get the error shown above in the title.

when I just import the sanitizer from html5lib:

from html5lib import sanitizer

I get the following error:

Traceback (most recent call last):
  File "test.py", line 1, in <module>
    from html5lib import sanitizer
ImportError: cannot import name 'sanitizer'

I installed html5lib from pip:

pip install html5lib

Is the sanitizer module not available anymore ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions