summaryrefslogtreecommitdiff
path: root/lib/asciidoctor/pdf/converter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asciidoctor/pdf/converter.rb')
-rw-r--r--lib/asciidoctor/pdf/converter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/pdf/converter.rb b/lib/asciidoctor/pdf/converter.rb
index bf6c22b4..50b9ed72 100644
--- a/lib/asciidoctor/pdf/converter.rb
+++ b/lib/asciidoctor/pdf/converter.rb
@@ -1279,7 +1279,7 @@ module Asciidoctor
content = guard_indentation node.content
ink_prose content,
normalize: false,
- align: :left,
+ align: (resolve_text_align_from_role node.roles) || :left,
hyphenate: true,
margin_bottom: 0,
bottom_gutter: (attribution ? nil : @bottom_gutters[-1][node])