Some updated ins utils.py
This commit is contained in:
@@ -770,4 +770,6 @@ def wrap_text(draw, text, font, max_width):
|
|||||||
|
|
||||||
def format_html(html_string):
|
def format_html(html_string):
|
||||||
soup = BeautifulSoup(html_string, 'html.parser')
|
soup = BeautifulSoup(html_string, 'html.parser')
|
||||||
return soup.prettify()
|
return soup.prettify()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user