mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-09 23:16:38 +02:00
improved async web setup page
This commit is contained in:
parent
13c88b3626
commit
b6ac416665
8 changed files with 175 additions and 157 deletions
|
@ -21,7 +21,7 @@ def convert2Header(inFile, compress):
|
|||
if False == compress:
|
||||
if fileType == "html":
|
||||
data = re.sub(r"\>\s+\<", '><', data) # whitespaces between xml tags
|
||||
data = re.sub(r"(\;|\}|\>|\{)\s+", r'\1', data) # whitespaces inner javascript
|
||||
data = re.sub(r"(\s?\;|\}|\>|\{|\=)\s+", r'\1', data) # whitespaces inner javascript
|
||||
length = len(data) # get unescaped length
|
||||
data = re.sub(r"\"", '\\\"', data) # escape quotation marks
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue