escapement 0.1.1 → 0.1.2

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: a46aa47d6db1ce9a673eff7fc0eb2f8591839bcb
4
- data.tar.gz: bcd5175cc3255aa72691ef3d49f5eb6e890e9403
3
+ metadata.gz: feef749452a510c1296df57f1fa902b907489336
4
+ data.tar.gz: 684d25eadfb7c027d7e4dca2cbfa3de6b43aff69
5
5
  SHA512:
6
- metadata.gz: 0e043beaf9b7c2f73e09106c0284798ab76ec8755f7e3464955e12b4957bfbe120a33454352c033599e86b47fbd1d501c6b7c036acf3daa64ef5503f2e09ce8b
7
- data.tar.gz: cc512ee00507e899cf8623aef6049d7cbfd44b2de54c120ec2e99f8f255e53592c6601da57dc237bb5b5d3705e20f638ea4cbe9c53f1ee9ec6543d71cf5c044f
6
+ metadata.gz: ee53837345b1036e2fbc59812ea9ce9da1452be529482c828dc97e103b929dc899faf9ba1809fbdcd5c8aa748679e371f72096c06fcd9d1975d00cdeaf30b914
7
+ data.tar.gz: 5a039a1d8f1233e2f4738219034070b9af451545d7b42596ef7e06040ba00f51ca7df2d2631af1dcfdef101894621de5f4418e9f4a00a222fd094f4d94b9ae19
@@ -20,7 +20,7 @@ module Escapement
20
20
  position: [@current_position, @current_position + node.text.length],
21
21
  attributes: Hash[filtered_attributes.map { |k, v| [k, v.value] }]
22
22
  }
23
-
23
+
24
24
  process_children
25
25
  end
26
26
 
@@ -38,6 +38,9 @@ module Escapement
38
38
  when 'pre' then 'preformatted'
39
39
  when 'img' then 'image'
40
40
  when 'li' then 'list_item'
41
+ when 'sup' then 'superscript'
42
+ when 'sub' then 'subscript'
43
+ when 'br' then 'line_break'
41
44
  when /h\d/ then 'header'
42
45
  else node.name
43
46
  end
@@ -1,3 +1,3 @@
1
1
  module Escapement
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: escapement
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan LeFevre