mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Fri Oct 6 21:58:48 EEST 2023
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
98b874bb62
commit
c2a839ec54
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
html-minifier
|
||||
htmlmin
|
||||
rcssmin
|
||||
mistune
|
||||
typing
|
||||
|
|
|
@ -24,7 +24,7 @@ from threading import Thread
|
|||
from timeit import default_timer as code_timer
|
||||
from warnings import filterwarnings as filter_warnings
|
||||
|
||||
import html_minifier.minify # type: ignore
|
||||
import htmlmin # type: ignore
|
||||
import mistune
|
||||
import mistune.core
|
||||
import mistune.inline_parser
|
||||
|
@ -572,7 +572,7 @@ def process_css_file(file: str, out: str) -> None:
|
|||
|
||||
|
||||
def min_html(code: str) -> str:
|
||||
return html_minifier.minify.Minifier(code).minify() # type: ignore
|
||||
return htmlmin.minify(code, True, True, True, True, True, True, True)
|
||||
|
||||
|
||||
# markdown
|
||||
|
|
Loading…
Add table
Reference in a new issue