asciidoctor-pdf 1.5.0.alpha.3 → 1.5.0.alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor-pdf/prawn_ext/extensions.rb +3 -1
- data/lib/asciidoctor-pdf/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73e7e92814ff51684ded60ff7a193bad01bccdca
|
4
|
+
data.tar.gz: 72f6cdbb47f6af5520df5f62d23f60760dac57ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78a6e3b0d72c21db30dc9545fbe1f91c6467bf7660910fa2461f3e3487658f87214d524401629d0cc0fb6111e433d6af17570cd23970dc9a4983e942e987ebe6
|
7
|
+
data.tar.gz: d468f5310e4589bfee6292fa9ac40c5b39b9498135a44f03a2cd5d2706b20cf06cbeb053fd6b5b3f561ab3767a3716ce009efbf36be97fde14ea706ef65fbb98
|
@@ -501,7 +501,9 @@ module Extensions
|
|
501
501
|
else
|
502
502
|
started_new_page = false
|
503
503
|
end
|
504
|
-
yield
|
504
|
+
# HACK yield doesn't work here on JRuby (at least not when called from AsciidoctorJ)
|
505
|
+
#yield height_of_content, started_new_page
|
506
|
+
instance_exec(height_of_content, started_new_page, &block)
|
505
507
|
end
|
506
508
|
|
507
509
|
# Attempt to keep the objects generated in the block on the same page
|