markus 4.0.22 → 4.0.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/markus.rb +4 -4
  3. data/markus.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dee04aede3edc32afbedc10263a769a036afcc68
4
- data.tar.gz: 1afc04487fb16bfdb6eed7c5b8882e2b3d175f6f
3
+ metadata.gz: f8bd8f4ad5c8fa38d006c427dac19b0084fb19ef
4
+ data.tar.gz: c4e6afc90c7b523499de1b8b0c2f9b8098f51dd0
5
5
  SHA512:
6
- metadata.gz: 34d915766aa59dbb95631f08b7f8d7cdafac11f582d37f950eb4a4f4a98b94b92d7aa904a2d2c5b9c3757b6f4be7baa382a476f34fcb29b0d7a7454b8b2592b1
7
- data.tar.gz: 0a7c2e2c1afe56aef4fb33baa0856acc3e78973fc10e58ff6481f64323cdfd86fb0b4a1f6f5ee1f279de93639681d0226b42baeb84497182fec8d18dd2c35bab
6
+ metadata.gz: 71188ac6893a5074390aae542922497339f201f3f09aa0b6f06a8ba76b9ae992001a00347726c2da86a73e33be0bda8f205a6d30e22faca71dffe5ff207c602a
7
+ data.tar.gz: c2d00ba4740f62ca024028d11b3ca1b966a0063948354b76cd1ca814fe3dd19c5a681cca4cb3c9d664654316e89452450791d4ed49e92aec92615edc35599343
@@ -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?
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "markus"
3
- s.version = "4.0.22"
3
+ s.version = "4.0.23"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "MarkUS - Markup UnderScore. Quick n' dirty templating in the spirit of markaby."
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.22
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-12 00:00:00.000000000 Z
11
+ date: 2016-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest