Linux ams-business-8.hostwindsdns.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
LiteSpeed
Server IP : 192.236.177.161 & Your IP : 216.73.216.50
Domains :
Cant Read [ /etc/named.conf ]
User : ajzdfbpz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.6 /
site-packages /
html5lib /
filters /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-02-12 23:54
__init__.py
0
B
-rw-r--r--
2016-07-15 01:24
alphabeticalattributes.py
621
B
-rw-r--r--
2016-07-15 01:24
base.py
286
B
-rw-r--r--
2016-07-15 01:24
inject_meta_charset.py
2.68
KB
-rw-r--r--
2016-07-15 01:24
lint.py
3.27
KB
-rw-r--r--
2016-07-15 01:24
optionaltags.py
10.29
KB
-rw-r--r--
2016-07-15 01:24
sanitizer.py
24.51
KB
-rw-r--r--
2016-07-15 01:24
whitespace.py
1.11
KB
-rw-r--r--
2016-07-15 01:24
Save
Rename
from __future__ import absolute_import, division, unicode_literals import re from . import base from ..constants import rcdataElements, spaceCharacters spaceCharacters = "".join(spaceCharacters) SPACES_REGEX = re.compile("[%s]+" % spaceCharacters) class Filter(base.Filter): spacePreserveElements = frozenset(["pre", "textarea"] + list(rcdataElements)) def __iter__(self): preserve = 0 for token in base.Filter.__iter__(self): type = token["type"] if type == "StartTag" \ and (preserve or token["name"] in self.spacePreserveElements): preserve += 1 elif type == "EndTag" and preserve: preserve -= 1 elif not preserve and type == "SpaceCharacters" and token["data"]: # Test on token["data"] above to not introduce spaces where there were not token["data"] = " " elif not preserve and type == "Characters": token["data"] = collapse_spaces(token["data"]) yield token def collapse_spaces(text): return SPACES_REGEX.sub(' ', text)