lib/isodoc/function/utils.rb in isodoc-1.0.17 vs lib/isodoc/function/utils.rb in isodoc-1.0.18

- old
+ new

@@ -62,10 +62,11 @@ xml.to_xml.sub(%r{ xmlns="http://www.w3.org/1999/xhtml"}, "") end CLAUSE_ANCESTOR = ".//ancestor::*[local-name() = 'annex' or "\ + "local-name() = 'acknowledgements' or "\ "local-name() = 'appendix' or local-name() = 'foreword' or "\ "local-name() = 'introduction' or local-name() = 'terms' or "\ "local-name() = 'clause' or local-name() = 'references']/@id".freeze def get_clause_id(node) @@ -75,9 +76,10 @@ NOTE_CONTAINER_ANCESTOR = ".//ancestor::*[local-name() = 'annex' or "\ "local-name() = 'foreword' or local-name() = 'appendix' or "\ "local-name() = 'introduction' or local-name() = 'terms' or "\ + "local-name() = 'acknowledgements' or "\ "local-name() = 'clause' or local-name() = 'references' or "\ "local-name() = 'figure' or local-name() = 'formula' or "\ "local-name() = 'table' or local-name() = 'example']/@id".freeze def get_note_container_id(node)