lib/isodoc/iso/xref.rb in metanorma-iso-2.3.0 vs lib/isodoc/iso/xref.rb in metanorma-iso-2.3.1
- old
+ new
@@ -186,9 +186,10 @@
(@anchors[id] && !@anchors[id][:has_modspec]) or return
@anchors[id][:has_modspec] = true
x = @anchors_previous[id][:xref_bare] || @anchors_previous[id][:xref]
@anchors[id][:xref] = l10n("#{table_label}, #{x}")
@anchors[id][:modspec] = @anchors_previous[id][:modspec]
+ @anchors[id][:subtype] = "modspec" # prevents citetbl style from beign applied
true
end
def hierarchical_table_names(clause, _num)
super