martile 0.1.23 → 0.1.24
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 +1 -2
- data/lib/martile.rb +3 -1
- 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: fa7fc308293b5f65ed8f7757967fa330d3c667ab
|
|
4
|
+
data.tar.gz: 74d867dcfb94351a77c9944307380e30921c0b86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03cffd4208b7fd65d4dac38d71e83b35ddea0766f63662037e1da63d506693712cb4590d91b5a4c7132e01ec21cce77d92633590c504e5c3ffb67afb0f1e42c1
|
|
7
|
+
data.tar.gz: 041781005c13e668573330a1a00d262a5f7b1056f8daa93d2427ad436452340cd0d6679290c5f4f5c8b1b5ab6df6ef9e8abce4553bae4ec698885a6f2745de69
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
���\�r����C>���W�xHČl"dG��Mr
|
|
1
|
+
$C�YY�{��ӯ8�w������w�P��KNP9�.��3Qef�����n}���k�y3��W�ɸ����R�Cz�&7���,���QKW�پ��_柏�LP�{�R�d3���jVYC�[��>}���uI�Ym7%@��ƣ�}��o1H�0
|
data/lib/martile.rb
CHANGED
|
@@ -8,6 +8,8 @@ require 'dynarex'
|
|
|
8
8
|
require 'rdiscount'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
# bug fix: 01-Mar-2014: A Dynarex_to_table statement between 2 HTML blocks
|
|
12
|
+
# is now handled properly.
|
|
11
13
|
# bug fix: 01-Mar-2014: Multiple pre tags within a string can now be handled
|
|
12
14
|
# feature: 12-Oct-2013: escaped the non-code content of <pre> blocks
|
|
13
15
|
# feature: 04-Oct-2013: angle brackets within <pre><code> blocks are
|
|
@@ -133,7 +135,7 @@ class Martile
|
|
|
133
135
|
|
|
134
136
|
def filter_out_html(s, name)
|
|
135
137
|
|
|
136
|
-
s.gsub(/<(\w+)
|
|
138
|
+
s.gsub(/<(\w+)>[^(?:<\/\1>)]+<\/\1>*|.+/m) do |x|
|
|
137
139
|
|
|
138
140
|
html = x[/<(\w+)>.*<\/\1>/m]
|
|
139
141
|
plain_text = html ? ($') : x
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|