mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Fix web list not wrapped in <ul> tag
This commit is contained in:
parent
119213a6c1
commit
7852077ca2
@ -31,7 +31,7 @@ def process_web_list(li_node):
|
||||
li_html += f'<li>{parse_textjson(li["textJson"])}</li>'
|
||||
else:
|
||||
li_html += f'<li>{li.get("text", "")}</li>'
|
||||
return li_html
|
||||
return '<ul>' + li_html + '</ul>'
|
||||
|
||||
|
||||
def process_info_box(bx):
|
||||
|
@ -31,7 +31,7 @@ def process_web_list(li_node):
|
||||
li_html += f'<li>{parse_textjson(li["textJson"])}</li>'
|
||||
else:
|
||||
li_html += f'<li>{li.get("text", "")}</li>'
|
||||
return li_html
|
||||
return '<ul>' + li_html + '</ul>'
|
||||
|
||||
|
||||
def process_info_box(bx):
|
||||
|
Loading…
x
Reference in New Issue
Block a user