mirror of https://github.com/searxng/searxng.git
updated formatting
This commit is contained in:
parent
8ae66a7eaa
commit
5e11d697ab
|
@ -340,7 +340,7 @@ def _eval_answers(results, dom, xpath):
|
|||
if table_elements:
|
||||
extracted_table = table_elements[0]
|
||||
extracted_table.attrib.clear()
|
||||
for element in extracted_table.xpath(f'.//*'):
|
||||
for element in extracted_table.xpath('.//*'):
|
||||
element.attrib.clear()
|
||||
extracted_table.set('cellpadding', '2')
|
||||
extracted_table.set('cellspacing', '2')
|
||||
|
|
Loading…
Reference in New Issue