lib/isodoc/function/reqt.rb in isodoc-1.0.29 vs lib/isodoc/function/reqt.rb in isodoc-1.1.0

- old
+ new

@@ -1,9 +1,9 @@ module IsoDoc::Function module Blocks def recommendation_labels(node) [node.at(ns("./label")), node.at(ns("./title")), - anchor(node['id'], :label, false)] + @xrefs.anchor(node['id'], :label, false)] end def recommendation_name(node, out, type) label, title, lbl = recommendation_labels(node) out.p **{ class: "RecommendationTitle" } do |b|