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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04f29d06d179cf84e07e1641eec17dffc5c9fe12cbdea91324850c70393c1b53
|
|
4
|
+
data.tar.gz: '048041d979d0fc2df7673e3d33c3e9ac11cf3c7f81c9961b033978d1be70d648'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
318
|
-
# (
|
|
319
|
-
#
|
|
320
|
-
#
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
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
|