d289f89
diff -up bleach-3.1.4/bleach/html5lib_shim.py.html5lib-prerel-compat bleach-3.1.4/bleach/html5lib_shim.py
d289f89
--- bleach-3.1.4/bleach/html5lib_shim.py.html5lib-prerel-compat	2020-04-22 15:11:04.269007528 +0200
d289f89
+++ bleach-3.1.4/bleach/html5lib_shim.py	2020-04-22 15:12:52.086153050 +0200
d289f89
@@ -20,7 +20,10 @@ from html5lib.constants import (
d289f89
     namespaces,
d289f89
     prefixes,
d289f89
 )
d289f89
-from bleach._vendor.html5lib.constants import _ReparseException as ReparseException
d289f89
+try:
d289f89
+    from bleach._vendor.html5lib.constants import _ReparseException as ReparseException
d289f89
+except ImportError:
d289f89
+    from bleach._vendor.html5lib.constants import ReparseException
d289f89
 from bleach._vendor.html5lib.filters.base import Filter
d289f89
 from bleach._vendor.html5lib.filters.sanitizer import allowed_protocols
d289f89
 from bleach._vendor.html5lib.filters.sanitizer import Filter as SanitizerFilter