metanorma-iso 2.7.7 → 2.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -160,6 +160,13 @@ module IsoDoc
160
160
  dlist.remove
161
161
  end
162
162
 
163
+ def table1(elem)
164
+ elem.xpath(ns(".//dl[@key = 'true'][not(./name)]")).each do |dl|
165
+ dl.children.first.previous = "<name>#{@i18n.key}</name>"
166
+ end
167
+ super
168
+ end
169
+
163
170
  def toc_title(docxml)
164
171
  %w(amendment technical-corrigendum).include?(@doctype) and return
165
172
  super