martile 0.1.24 → 0.1.25

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
  SHA1:
3
- metadata.gz: fa7fc308293b5f65ed8f7757967fa330d3c667ab
4
- data.tar.gz: 74d867dcfb94351a77c9944307380e30921c0b86
3
+ metadata.gz: b0361a32eae512f26928818c9c8daa48ebef6b10
4
+ data.tar.gz: b606844ed4c5cfba46800b200989517dc58f5aa2
5
5
  SHA512:
6
- metadata.gz: 03cffd4208b7fd65d4dac38d71e83b35ddea0766f63662037e1da63d506693712cb4590d91b5a4c7132e01ec21cce77d92633590c504e5c3ffb67afb0f1e42c1
7
- data.tar.gz: 041781005c13e668573330a1a00d262a5f7b1056f8daa93d2427ad436452340cd0d6679290c5f4f5c8b1b5ab6df6ef9e8abce4553bae4ec698885a6f2745de69
6
+ metadata.gz: c63c7282c1fa1841feeeaddb65170aa9117b66d67b73921a9e2362ae63d01ed29eda7fb49378eedc98e23314f621a6eac1d721c1ff46c9cf50a5901030906ebc
7
+ data.tar.gz: 74195998ec5f28bec48dd0e3fb4cb1905979afc8b96fe62433cf1158f4c47a0491d9cb3dfdcf38010ab7759467e5758c465c86391bd9b5a20d1dc72accda51ae
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/martile.rb CHANGED
@@ -137,7 +137,7 @@ class Martile
137
137
 
138
138
  s.gsub(/<(\w+)>[^(?:<\/\1>)]+<\/\1>*|.+/m) do |x|
139
139
 
140
- html = x[/<(\w+)>.*<\/\1>/m]
140
+ html = x[/<(\w+)>[^(?:<\/\1>)]+<\/\1>/m]
141
141
  plain_text = html ? ($') : x
142
142
  text1 = ($`).to_s
143
143
  s1 = text1.length > 0 ? self.method(name).call(text1) : ''
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: martile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.24
4
+ version: 0.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file