summaryrefslogtreecommitdiff
path: root/src/pip/_vendor/html5lib/filters/whitespace.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pip/_vendor/html5lib/filters/whitespace.py')
-rw-r--r--src/pip/_vendor/html5lib/filters/whitespace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pip/_vendor/html5lib/filters/whitespace.py b/src/pip/_vendor/html5lib/filters/whitespace.py
index 892105287..0d12584b4 100644
--- a/src/pip/_vendor/html5lib/filters/whitespace.py
+++ b/src/pip/_vendor/html5lib/filters/whitespace.py
@@ -10,7 +10,7 @@ SPACES_REGEX = re.compile("[%s]+" % spaceCharacters)
class Filter(base.Filter):
-
+ """Collapses whitespace except in pre, textarea, and script elements"""
spacePreserveElements = frozenset(["pre", "textarea"] + list(rcdataElements))
def __iter__(self):