polytexnic 1.1.11 → 1.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/polytexnic/postprocessors/html.rb +2 -2
- data/lib/polytexnic/utils.rb +1 -0
- data/lib/polytexnic/version.rb +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: 0c6f6685e4e82555b337e848db33c77a772d5f90
|
4
|
+
data.tar.gz: 88de5d8700aac21bb873a6d0b6919370036cd581
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db3e10b6e1bcad49d628637bfd00ccde8ea347db3d1543be2065c0b9532b6f922bb5f315c31622365127fd80f56634c6f5ca3951ede46120406c0a63fa7bfa49
|
7
|
+
data.tar.gz: 7d92261fdaa1607160bf36e2ac323c4827aadc1ed6b82e15ca2268b71620b40c3e23ab393e95ea5e1d6eb65b92f90f0cee7c80942a74bed950a64df7295028de
|
@@ -554,7 +554,7 @@ module Polytexnic
|
|
554
554
|
node['id'] = pipeline_label(label)
|
555
555
|
label.remove
|
556
556
|
end
|
557
|
-
clean_node node, %w{data-label place}
|
557
|
+
clean_node node, %w{data-label place width}
|
558
558
|
end
|
559
559
|
doc.xpath('//table').each do |node|
|
560
560
|
if unexpected = node.at_css('unexpected')
|
@@ -1303,7 +1303,7 @@ module Polytexnic
|
|
1303
1303
|
current_depth = 1
|
1304
1304
|
insert_li(html, node)
|
1305
1305
|
when 'section'
|
1306
|
-
html << '<ul>' if article?
|
1306
|
+
html << '<ul>' if article? && current_depth == 0
|
1307
1307
|
open_list(html) if current_depth == 1
|
1308
1308
|
while current_depth > 2
|
1309
1309
|
close_list(html)
|
data/lib/polytexnic/utils.rb
CHANGED
data/lib/polytexnic/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polytexnic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Hartl
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-01-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|