metanorma-standoc 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metanorma/standoc/base.rb +1 -1
- data/lib/metanorma/standoc/basicdoc.rng +5 -3
- data/lib/metanorma/standoc/biblio.rng +5 -3
- data/lib/metanorma/standoc/cleanup_image.rb +117 -3
- data/lib/metanorma/standoc/cleanup_ref.rb +1 -1
- data/lib/metanorma/standoc/cleanup_section.rb +1 -1
- data/lib/metanorma/standoc/cleanup_xref.rb +12 -5
- data/lib/metanorma/standoc/isodoc.rng +10 -0
- data/lib/metanorma/standoc/ref.rb +6 -1
- data/lib/metanorma/standoc/ref_utility.rb +2 -1
- data/lib/metanorma/standoc/term_lookup_cleanup.rb +8 -6
- data/lib/metanorma/standoc/terms.rb +10 -7
- data/lib/metanorma/standoc/validate.rb +7 -2
- data/lib/metanorma/standoc/version.rb +1 -1
- data/spec/metanorma/cleanup_blocks_spec.rb +136 -0
- data/spec/metanorma/cleanup_spec.rb +3 -3
- data/spec/metanorma/isobib_cache_spec.rb +2 -2
- data/spec/metanorma/macros_spec.rb +61 -0
- data/spec/metanorma/refs_spec.rb +505 -460
- data/spec/metanorma/section_spec.rb +1 -1
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +46 -46
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +12 -12
- data/spec/vcr_cassettes/hide_refs.yml +98 -98
- data/spec/vcr_cassettes/isobib_get_123.yml +12 -12
- data/spec/vcr_cassettes/isobib_get_123_1.yml +25 -25
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +35 -35
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
- data/spec/vcr_cassettes/isobib_get_124.yml +11 -11
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +14 -14
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +61 -51
- metadata +2 -2
@@ -1307,10 +1307,10 @@ RSpec.describe Metanorma::Standoc do
|
|
1307
1307
|
<title>Clause 1.2</title>
|
1308
1308
|
</clause>
|
1309
1309
|
</clause>
|
1310
|
+
<floating-title id='_' depth='1' type='floating-title'>Another top-level floating title</floating-title>
|
1310
1311
|
<clause id='_' inline-header='false' obligation='normative'>
|
1311
1312
|
<title>Clause 2</title>
|
1312
1313
|
</clause>
|
1313
|
-
<floating-title id='_' depth='1' type='floating-title'>Another top-level floating title</floating-title>
|
1314
1314
|
</sections>
|
1315
1315
|
</standard-document>
|
1316
1316
|
OUTPUT
|