Inline format Condition rules text

This commit is contained in:
The Stranjer 2019-06-12 10:26:23 -04:00
parent 75b94f69fa
commit b4780ffb82

View File

@ -269,7 +269,7 @@ class ShardsOfPower
condition_ary = [{:text => condition.name, :font => "Lilith", :color => "004E6D", :size => FONT_SIZE_SUBSECTION}] condition_ary = [{:text => condition.name, :font => "Lilith", :color => "004E6D", :size => FONT_SIZE_SUBSECTION}]
pdf.formatted_text condition_ary pdf.formatted_text condition_ary
pdf.text condition.rules_text pdf.text condition.rules_text, :inline_format => true
pdf.text "<b>Possible Sources:</b> #{condition.possible_sources}", :inline_format => true if condition.possible_sources pdf.text "<b>Possible Sources:</b> #{condition.possible_sources}", :inline_format => true if condition.possible_sources
pdf.text "<b>Resolution:</b> #{condition.resolution}", :inline_format => true pdf.text "<b>Resolution:</b> #{condition.resolution}", :inline_format => true
pdf.text "<b>Beat:</b> #{condition.beat}", :inline_format => true pdf.text "<b>Beat:</b> #{condition.beat}", :inline_format => true