Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cannot import name 'sanitizer' #277

Copy link
Copy link
Closed
@erikzenker

Description

@erikzenker
Issue body actions

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.