mirror of
https://github.com/searxng/searxng.git
synced 2026-08-05 14:51:25 +00:00
updated formatting
This commit is contained in:
@@ -340,7 +340,7 @@ def _eval_answers(results, dom, xpath):
|
|||||||
if table_elements:
|
if table_elements:
|
||||||
extracted_table = table_elements[0]
|
extracted_table = table_elements[0]
|
||||||
extracted_table.attrib.clear()
|
extracted_table.attrib.clear()
|
||||||
for element in extracted_table.xpath(f'.//*'):
|
for element in extracted_table.xpath('.//*'):
|
||||||
element.attrib.clear()
|
element.attrib.clear()
|
||||||
extracted_table.set('cellpadding', '2')
|
extracted_table.set('cellpadding', '2')
|
||||||
extracted_table.set('cellspacing', '2')
|
extracted_table.set('cellspacing', '2')
|
||||||
|
|||||||
Reference in New Issue
Block a user