rowx 0.2.2 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1965940d29449132b76c91bfd40f41827bcee0de
4
- data.tar.gz: db7b74a8edd54a9f54d7f78aeaed4f79b7378acb
3
+ metadata.gz: d04c6a9d0315888bcaa68dbcdcf1a8a8a234c1dd
4
+ data.tar.gz: 3a535266cf22ab3b1de72531a4961c80e0f791fd
5
5
  SHA512:
6
- metadata.gz: 5c60b3a1f435ee0cbe5a11a8a960ba73ef841b01eb4e014f43375f09977e246d4cac52620f31a597593bc82c985b25c89db4860a18a2444ae956f7b83fab5c8e
7
- data.tar.gz: 68479d0688293262f9d516dda80a50f470bcaafe45807cc277a7645ce76e9dff74cb904211df095c29fe362050b6865f56777abbfeed73e9e4dd0d7f51028b07
6
+ metadata.gz: 44ed029b50f28e86586a92fc0123925d2c52f6b05bcb3aa52545801e8fc29940256105963e99b44a089ab83a8e430f4dde4e8e67b1a89593daca615430783b66
7
+ data.tar.gz: 7e5d4eb3b82ae9e42abfd8d196bdb13f6685c5a85bcc693c7185005e186aa3c29643a39945d8be22714450e46b8d9a6fdbdfbeab7164edbac0013a9f6b6310ed
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/rowx.rb CHANGED
@@ -57,8 +57,7 @@ class RowX
57
57
  name ||= 'description'
58
58
 
59
59
  children = scan_a(field[1..-1]) if field[-1] .is_a?(Array)
60
- value = value.to_s.strip
61
- value = ['![', value, {}] if value[/[<>]/]
60
+ value = value.to_s.strip.gsub('<','&lt;').gsub('>','&gt;')
62
61
 
63
62
  result = [name, value, {}]
64
63
  result << children if children
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rowx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  yaP43m5g1gqUfr6ys6w86uiM1Khmw6RXdAZBrQU+jmXYRU0OejB3+MdhPte5gP6n
32
32
  k3UhzyiVjlkLhQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-11-06 00:00:00.000000000 Z
34
+ date: 2014-11-22 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: line-tree
metadata.gz.sig CHANGED
Binary file