lib/isodoc/presentation_function/section.rb in isodoc-1.3.0 vs lib/isodoc/presentation_function/section.rb in isodoc-1.3.1
- old
+ new
@@ -40,7 +40,13 @@
def term1(f)
lbl = @xrefs.get[f["id"]][:label] or return
prefix_name(f, "", "#{lbl}#{clausedelim}", "name")
end
+
+ def index(docxml)
+ docxml.xpath(ns("//index | //index-xref")).each do |f|
+ f.remove
+ end
+ end
end
end