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
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Recent versions of html5lib have moved imports, breaking django-wysiwyg. #61

Copy link
Copy link
Open
@mrmachine

Description

@mrmachine
Issue body actions

Since html5lib/html5lib-python#110 was merged, we get:

Traceback (most recent call last):
  File "/opt/django-icekit/icekit/plugins/text/tests.py", line 35, in test_sanitize_html5lib
    sanitized = sanitize_html(self.HTML1_ORIGINAL)
  File "/usr/local/lib/python2.7/dist-packages/django_wysiwyg/utils.py", line 41, in sanitize_html5lib
    from html5lib import treebuilders, treewalkers, serializer, sanitizer
ImportError: cannot import name sanitizer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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.