swordfish 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/swordfish/formats/docx/document.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODBlMzJjZjVkMmUxZTdlNmVmMTUxOTI1NjFiMTI3NmNjMGVmNWM5OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWQ4ZDMxOTJkN2VmZThkMmM3MDNmYjM5OWZjMWZkYjcxMTBkNjdmNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTc0NTZkNjExNGFkODBjZTBkZjk1YTJiNzliMGZjZmRhY2I0MzQyNjQzNTUw
|
10
|
+
MDQ4YWE2YTAwMTYzN2EzYjY1Mzk5YjhiOTZmOWRmOTE3OTQyMTkyZDRkMzNh
|
11
|
+
NDNjMzUwNjZhOTg1YzIzZWViODk5NDZmNTQyYjcwNzBkZDhmN2I=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGQzZThlMmIzNGNlNDBhY2QwNThiNzYyMmY4ZmZmNGQ3ZmJhZGYyZGEyYjFl
|
14
|
+
MDg1ZTQ4ZjllNGEyODU5NmYzMzUxMGNiODUzMzhlYjI3MTY0OTY2MDU2NTg1
|
15
|
+
YzY4MGU0ZWM0NjkyNmMzMmZlZTU0NTM5YTk5MDY5YWY5ZTM4ZjM=
|
@@ -67,7 +67,7 @@ module Swordfish
|
|
67
67
|
@xml.xpath('//w:body').children.each do |node|
|
68
68
|
case node.name
|
69
69
|
when 'p'
|
70
|
-
if node.xpath('.//w:numPr').length == 0 && (@buffer.is_a?(Swordfish::Node::List) ? node.xpath('.//w:ind').length.zero? : true)
|
70
|
+
if node.xpath('.//w:numPr').length == 0 && (@buffer.is_a?(Swordfish::Node::List) ? node.xpath('.//w:ind[@w:left]').length.zero? : true)
|
71
71
|
# Regular paragraph
|
72
72
|
# (The buffer check makes sure that this isn't an indented paragraph immediately after a list item,
|
73
73
|
# which means we're most likely dealing with a multi-paragraph list item)
|