metanorma-ietf 3.7.22 → 3.7.23

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88e3e3cdc038bb5bbd8ccb0f6d64a47a47306c446b14a3fe7c3ac15996c5b7c1
4
- data.tar.gz: 370fa65a34ed9d3a6a07c648b2963581789f3cacf7e1115178b13b54f71154d3
3
+ metadata.gz: 04f29d06d179cf84e07e1641eec17dffc5c9fe12cbdea91324850c70393c1b53
4
+ data.tar.gz: '048041d979d0fc2df7673e3d33c3e9ac11cf3c7f81c9961b033978d1be70d648'
5
5
  SHA512:
6
- metadata.gz: 3ddc6c3fff7d4291ef83713b0dbf54400ffcf3514cbca854fe57cc340d7be43d4771a29d782474550eb762fa585e2996fb79bef6fac144534aea1c12c665f973
7
- data.tar.gz: ae2f37c3aa7e7876418e7b2ab9632bbe1dc0ab3b64e7ff7b8e26aea7bbdc7ccbc08e6a5e6160975d509c521589523b60a81400aae09b570e0a7d8fedbdfce4e9
6
+ metadata.gz: 03f80abef2cab078daea13800dde3863294cf2401028b1d801859f3494f04a0ed58907c4082d5d6c7593c270932aa79103629241df6ee338728075fe2d2e5aee
7
+ data.tar.gz: 36b01d7ff75b73b99c9ef6fc42c950d16bc7582aa24623b3bb1109da9d659b08db71f492600c2739c7051b48f11e8bb9c803becf5e474db0af551947a509795a
@@ -314,20 +314,18 @@ module Metanorma
314
314
  group
315
315
  end
316
316
 
317
- # a formattedref is the FULL rendered citation — the human- or
318
- # (almost always) relaton-render-formatted text that populates
319
- # the v3 reference; a bare title does not. It therefore wins
320
- # over a co-present title (#301 item 6, adjudicated 2026-08-11:
321
- # restores the released #279 precedence; the fetched-title-wins
322
- # flip discarded the authored/rendered citation). Bibitems with
323
- # NEITHER also route here, for the docid fallback.
317
+ # a structured title wins when one co-exists with a
318
+ # formattedref (metanorma-ietf#375, superseding the #301 item 6
319
+ # adjudication per the owner's 2026-11-25 direction): the
320
+ # released renderers (v2.5.1 through the 1.15.x-era 3.7.0) all
321
+ # emitted the clean structured title, and xml2rfc renders
322
+ # authors, date and series from the other elements — splicing
323
+ # the full citation into <title> duplicates them. The
324
+ # formattedref is the title only for title-less bibitems;
325
+ # bibitems with NEITHER also route here, for the docid fallback.
324
326
  def formattedref_bibitem?(bibitem)
325
327
  return false unless bibitem
326
328
 
327
- fr = model_attr(bibitem, :formatted_ref)
328
- return true if fr && !mixed_text(fr).to_s.strip.empty?
329
- return true if recovered_formattedref_for(bibitem)
330
-
331
329
  title = extract_bibitem_title(bibitem)
332
330
  title.nil? || title.empty?
333
331
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ietf
3
- VERSION = "3.7.22".freeze
3
+ VERSION = "3.7.23".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ietf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.22
4
+ version: 3.7.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.