martile 0.6.18 → 0.6.19
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/martile.rb +4 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14439065149d064b44c8f64f126e210e69313499
|
|
4
|
+
data.tar.gz: f35983c3a0b6bfe328d11f94da7b7aeeb6416e44
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adabff32486d1ba428510f1e143541ba2301fa76693720e01b93771b421ac167f8bb4a01c5e92d6f5df2794eef2a0dc8918dcbcb89a85f89dafd4d6119055903
|
|
7
|
+
data.tar.gz: 24578533799d2684eedc44019f6745782ac5a4aec116d2a2e72a8203ccd24d5b9df34d32db43e401a39e262a84b83f989eb9d5947a4b705ceabf94c6815fa165
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/martile.rb
CHANGED
|
@@ -11,6 +11,8 @@ require 'kvx'
|
|
|
11
11
|
|
|
12
12
|
# bug fix: 03-Dec-2015 A smartlink which ends with a closing parenthesis is
|
|
13
13
|
# now output to a regular anchor tag
|
|
14
|
+
# It should now identify when using a section equals sign
|
|
15
|
+
# to terminate a section block
|
|
14
16
|
# bug fix: 22-Oct-2015 The method apply_filter() is now used
|
|
15
17
|
# with the section() method
|
|
16
18
|
# feature: 10-Oct-2015 A hyperlink can now be create from a
|
|
@@ -513,6 +515,7 @@ class Martile
|
|
|
513
515
|
|
|
514
516
|
a2 = a.inject([[]]) do |r,x|
|
|
515
517
|
|
|
518
|
+
|
|
516
519
|
match = x.match(/^=[^=]#?(\w+)?/)
|
|
517
520
|
|
|
518
521
|
if match then
|
|
@@ -541,6 +544,7 @@ class Martile
|
|
|
541
544
|
r
|
|
542
545
|
end
|
|
543
546
|
|
|
547
|
+
|
|
544
548
|
a2.join
|
|
545
549
|
end
|
|
546
550
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|