metanorma-standoc 3.5.22 → 3.5.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: fc313e79a3b7597ba7779788e1683bba880f0d0ac07fa17190f94eb27e1fa450
4
- data.tar.gz: 887b7042c8df8946f776b9ecb7f5db2cbff82941aef47fdcd56715a855eeea56
3
+ metadata.gz: 20b59467dced779400e2d370233aa2913ab663e19865b595d681ac261510154a
4
+ data.tar.gz: 2530c9d850867f1a11ee0c1a2a981e17c469dabe0cfb3a5d560482278a9e5d66
5
5
  SHA512:
6
- metadata.gz: 7dfbeeb00214be8735bd373bb8fe2ec287f26c9997ee44e3baef03c35ec391645a8ed31b3ee87f2b748bea4db535395beb0e1e68ad7aa06b74607af113aa2ee1
7
- data.tar.gz: c4d1d374cef220f08adeb0b0b8ee287335e0655ffd915abc0b1aa92502e20e99453a8fc2b28bc60657fe72c86abb973655d4f0f4fe7990891d9146095a894c03
6
+ metadata.gz: 1e6fd33f63d505c6db1c9984baa0293f3f6df09f6b1b65f96eaa5e0d4f87a8d34ca5515f76f0a946c70fe59807c6b54f837841ab3432b5d6dfb5bf9b444f5c2b
7
+ data.tar.gz: 02d189caf97867e5bce365702309ae80c10a5edfcdc9031c8ffcb17126662b2e51e8f39574fc323024a1fc9f344c4db8a45f0cb2b901046d9fc486d20e2c55e1
@@ -26,6 +26,13 @@ module Metanorma
26
26
  collection: true
27
27
  attribute :note,
28
28
  Metanorma::Document::Components::Paragraphs::ParagraphBlock, collection: true
29
+ # Admonition children (e.g. an `[EDITOR]` editorial note placed
30
+ # after the reference list) are part of the section content:
31
+ # without the mapping they were dropped at model ingest and never
32
+ # reached the renderers (metanorma-iso#1764).
33
+ attribute :admonition,
34
+ Metanorma::Document::Components::MultiParagraph::AdmonitionBlock,
35
+ collection: true
29
36
  attribute :p,
30
37
  Metanorma::Document::Components::Paragraphs::ParagraphBlock, collection: true
31
38
  attribute :table,
@@ -77,6 +84,7 @@ module Metanorma
77
84
  map_element "title", to: :title
78
85
  map_element "p", to: :p
79
86
  map_element "note", to: :note
87
+ map_element "admonition", to: :admonition
80
88
  map_element "bibitem", to: :references
81
89
  map_element "passthrough", to: :passthrough
82
90
  map_element "table", to: :table
@@ -19,6 +19,6 @@ module Metanorma
19
19
  end
20
20
 
21
21
  module Standoc
22
- VERSION = "3.5.22".freeze
22
+ VERSION = "3.5.23".freeze
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-standoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.22
4
+ version: 3.5.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-13 00:00:00.000000000 Z
11
+ date: 2026-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable