Sha256: 2f03a4da2a947501bd12c9f6d714f995f870012fa3cdb0bf6de23eae3f3cc74d
Contents?: true
Size: 420 Bytes
Versions: 16
Compression:
Stored size: 420 Bytes
Contents
module Metanorma module IEEE class TermLookupCleanup < Metanorma::Standoc::TermLookupCleanup def remove_missing_ref_term(node, _target) 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
16 entries across 16 versions & 1 rubygems