lib/utils/xml.rb in metanorma-utils-1.4.6 vs lib/utils/xml.rb in metanorma-utils-1.4.7

- old
+ new

@@ -84,8 +84,15 @@ c.encode(c.decode(t), :hexadecimal) else t end end.join end + + # all element/attribute pairs that are ID anchors in Metanorma + def anchor_attributes + [%w[* id], %w[* bibitemid], %w[review from], + %w[review to], %w[index to], %w[xref target], + %w[callout target]] + end end end end