Fix minify error.
This commit is contained in:
@@ -4,7 +4,7 @@ from datetime import datetime
|
|||||||
|
|
||||||
|
|
||||||
def minify(content: str, maxlength: int, strip: Optional[str] = ' ', newlines: str = ' '):
|
def minify(content: str, maxlength: int, strip: Optional[str] = ' ', newlines: str = ' '):
|
||||||
content.replace('\n', newlines)
|
content = content.replace('\n', newlines)
|
||||||
if strip:
|
if strip:
|
||||||
content = content.strip(strip)
|
content = content.strip(strip)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user