lib/metanorma/standoc/blocks.rb in metanorma-standoc-2.2.8 vs lib/metanorma/standoc/blocks.rb in metanorma-standoc-2.3.0
- old
+ new
@@ -35,9 +35,10 @@
def open(node)
role = node.role || node.attr("style")
reqt_subpart?(role) and return requirement_subpart(node)
role == "form" and return form(node)
role == "definition" and return termdefinition(node)
+ role == "boilerplate" and return boilerplate_note(node)
result = []
node.blocks.each { |b| result << send(b.context, b) }
result
end