lib/isodoc/function/utils.rb in isodoc-1.0.10 vs lib/isodoc/function/utils.rb in isodoc-1.0.11

- old
+ new

@@ -174,7 +174,12 @@ i["src"] else File.join(@localdir, i["src"]) end end + + def labelled_ancestor(node) + return !node.ancestors("example, requirement, recommendation, permission, "\ + "table, figure, sourcecode").empty? + end end end