prawndown-ext 0.1.4 → 0.1.5

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: 642c5434cd34aa487ce5925919335736ac3ad47225eceed66c1e23d0cef1baf2
4
- data.tar.gz: 6567f31eb143ca6bca5135ed3605edc8ba827272351953e2d68488c0eb6f9e79
3
+ metadata.gz: 9faf10d4050bcb223f71cfb4e70709b24472e7a07e6bf7c98ccbf06d3008a621
4
+ data.tar.gz: 22e2ffd2f536b89d52d2a89a2257b41015a053ea7e9212ae4cd76afbd29bb0f0
5
5
  SHA512:
6
- metadata.gz: 47933fa1144ec46a86dc0a2d5aa48fb4c06d2632075b818d70ecf8a14be1316239ff8a56f735ca01e51bea274d6a741d863e949d694a5ba698dc986b4154e847
7
- data.tar.gz: c06b397f36764c87ec95dfe9e3611440720b5074d0c81f0a51f4bd93008d564f543c52a5e2309c23c591c448c55cbe184eedc7e05737b1a488150ce91288b6d6
6
+ metadata.gz: 1c8fe0e1339f041eafa92742a300e219dab5b7ef60c28dfe27a5995e76b7b2aaa81564ec5351b78aadc48e402c8ec93cc96cd1758a777f4bbdb5b220739cdfea
7
+ data.tar.gz: b5bd8aa3b0223302771abbd4692e9fc439e6329a5cad6045f4714c60bad1e27a5c9cfe5065f0a5b02f8af25f9519cf1952370491bca958f4fd44e091fb0910e1
@@ -76,16 +76,10 @@ module PrawndownExt
76
76
  final_string.gsub(markdown_matcher, prawn_tag)
77
77
  end
78
78
 
79
+ result = replace_options result
80
+
79
81
  result = result.split("<command_break>")
80
82
 
81
- i = 0
82
-
83
- # replaces optional values here
84
- while i < result.length
85
- result[i] = replace_options result[i]
86
- i += 1
87
- end
88
-
89
83
  result
90
84
 
91
85
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module PrawndownExt
4
4
  module Ext
5
- VERSION = "0.1.4"
5
+ VERSION = "0.1.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prawndown-ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - PunishedFelix