lib/isodoc/function/inline.rb in isodoc-1.0.24 vs lib/isodoc/function/inline.rb in isodoc-1.0.25
- old
+ new
@@ -105,9 +105,17 @@
else
out.a(**{ "href": "#" + node["bibitemid"] }) { |l| l << linkend }
end
end
+ def origin_parse(node, out)
+ if t = node.at(ns("./termref"))
+ termrefelem_parse(t, out)
+ else
+ eref_parse(node, out)
+ end
+ end
+
def termrefelem_parse(node, out)
out << "Termbase #{node['base']}, term ID #{node['target']}"
end
def concept_parse(node, out)