Matej Cepl 2024-08-07 19:36:41 +00:00 committed by Git OBS Bridge
parent 31e91ac782
commit dd7c725bd1

View File

@ -36,7 +36,7 @@
+ node_findall = node.findall + node_findall = node.findall
+ except AttributeError: + except AttributeError:
+ node_findall = node.traverse + node_findall = node.traverse
+ for glossary_item in node_findall(definition_list_item): + for glossary_item in node_findall(nodes.definition_list_item):
term = glossary_item[0].astext() term = glossary_item[0].astext()
definition = glossary_item[-1] definition = glossary_item[-1]