metanorma-plugin-lutaml 0.7.75 → 0.7.76

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: 2c7e7d819b2ac13a739ff836919a7605cf177a3977c126e6419da014221e5853
4
- data.tar.gz: 533e8319e90f2d9f6a2339c5e2b3866b9bae26003c2be394fda9b2d9b2c337a0
3
+ metadata.gz: ac767ca13e42278a97a80952fc74ea4e3e74e67bf6dcb4e47bb354a3a151f1ef
4
+ data.tar.gz: f9258d42298a1b87eee4354f23b5204147ea288ce47c50d332de9a52119aecba
5
5
  SHA512:
6
- metadata.gz: cb165bf2861c7d043d0aaa8ae217904766d8f2a52ed894be8f6db7204758b75fafadba9243ce8e6e333c1162c090fa4146940ae383db6cc308724a4954157c98
7
- data.tar.gz: 44ea1d2722ba0888ec5c09314bd6b0106ac3255a57705d199b3ca446f15b9ca0c1af133b1b6cb250702350f1657f4ae3df16e8890e90ef036582cdaecc7b34cf
6
+ metadata.gz: 7ae26c5b0818537180037a39e3b40c86565cd6de4be6b802a14019563dc67d5a7789a5974e93efe46ef47f456b72e1b7d3656dd0ab25355b2b965b3527b4aa4a
7
+ data.tar.gz: e78fab52229c84d01d70e4bd9a1439800c674cab28995119ed4170cb45343c3c536b20a3d20532a6cd7dba760c2babaf2c02e72e91439a9a50f753ead443733e
@@ -133,6 +133,8 @@ module Metanorma
133
133
  # printing the macros as written.
134
134
  def to_s
135
135
  remarks.join("\n")
136
+ .gsub(/^[ \t]+(?=image::)/, "")
137
+ .gsub(/^(?!$)(image::)/) { "\n\n#{Regexp.last_match(1)}" }
136
138
  end
137
139
  end
138
140
 
@@ -1,7 +1,7 @@
1
1
  module Metanorma
2
2
  module Plugin
3
3
  module Lutaml
4
- VERSION = "0.7.75".freeze
4
+ VERSION = "0.7.76".freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-plugin-lutaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.75
4
+ version: 0.7.76
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.