markus 4.0.22 → 4.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/markus.rb +4 -4
- data/markus.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8bd8f4ad5c8fa38d006c427dac19b0084fb19ef
|
4
|
+
data.tar.gz: c4e6afc90c7b523499de1b8b0c2f9b8098f51dd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71188ac6893a5074390aae542922497339f201f3f09aa0b6f06a8ba76b9ae992001a00347726c2da86a73e33be0bda8f205a6d30e22faca71dffe5ff207c602a
|
7
|
+
data.tar.gz: c2d00ba4740f62ca024028d11b3ca1b966a0063948354b76cd1ca814fe3dd19c5a681cca4cb3c9d664654316e89452450791d4ed49e92aec92615edc35599343
|
data/lib/markus.rb
CHANGED
@@ -128,7 +128,7 @@ class MarkUS
|
|
128
128
|
}.compact.join(" ")
|
129
129
|
attrs = '' if attrs == ' '
|
130
130
|
when String
|
131
|
-
content = EscapeUtils.escape_html(a)
|
131
|
+
content = EscapeUtils.escape_html(a).tr("\v",'')
|
132
132
|
when Integer
|
133
133
|
content = a
|
134
134
|
end
|
@@ -187,7 +187,7 @@ class MarkUS
|
|
187
187
|
|
188
188
|
if mpsic == :a && !tname.nil?
|
189
189
|
@__markus_buffer << __markus_indent + "{"
|
190
|
-
end
|
190
|
+
end
|
191
191
|
|
192
192
|
if [content, attrs, blk].compact.length > 1
|
193
193
|
@__markus_parent = nil
|
@@ -218,9 +218,9 @@ class MarkUS
|
|
218
218
|
@__markus_buffer << __markus_indent + "#{type == :a ? ']' : '}'},"
|
219
219
|
end
|
220
220
|
end
|
221
|
-
else
|
221
|
+
else
|
222
222
|
@__markus_buffer << __markus_indent + "\"#{tname}\": #{attrs || content},"
|
223
|
-
end
|
223
|
+
end
|
224
224
|
end
|
225
225
|
|
226
226
|
if mpsic == :a && !tname.nil?
|
data/markus.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04
|
11
|
+
date: 2016-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|