Sha256: 8c52e6a25764d1a8efd8728c7970f2723b8dedb3297e4db169611e10048ddc58
Contents?: true
Size: 468 Bytes
Versions: 29
Compression:
Stored size: 468 Bytes
Contents
module Metanorma module IEEE class TermLookupCleanup < Metanorma::Standoc::TermLookupCleanup def remove_missing_ref_term(node, _target, type) type == "symbol" and return super node.at("../xrefrender")&.remove #node.replace("<preferred><expression><name>#{node.children.to_xml}"\ # "</name></expression></preferred>") node.replace("<refterm>#{node.children.to_xml}</refterm>") end end end end
Version data entries
29 entries across 29 versions & 1 rubygems