summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/export/pdf/wiki_pdf_helper.rb19
1 files changed, 11 insertions, 8 deletions
diff --git a/lib/redmine/export/pdf/wiki_pdf_helper.rb b/lib/redmine/export/pdf/wiki_pdf_helper.rb
index 0fe6e3075..1751fdb12 100644
--- a/lib/redmine/export/pdf/wiki_pdf_helper.rb
+++ b/lib/redmine/export/pdf/wiki_pdf_helper.rb
@@ -46,8 +46,9 @@ module Redmine
pdf.footer_date = format_date(User.current.today)
pdf.add_page
pdf.SetFontStyle('B',11)
- pdf.RDMMultiCell(190,5,
- "#{project} - #{page.title} - # #{page.content.version}")
+ pdf.RDMMultiCell(
+ 190,5,
+ "#{project} - #{page.title} - # #{page.content.version}")
pdf.ln
# Set resize image scale
pdf.set_image_scale(1.6)
@@ -70,12 +71,14 @@ module Redmine
end
def write_wiki_page(pdf, page)
- text = textilizable(page.content, :text,
- :only_path => false,
- :edit_section_links => false,
- :headings => false,
- :inline_attachments => false
- )
+ text =
+ textilizable(
+ page.content, :text,
+ :only_path => false,
+ :edit_section_links => false,
+ :headings => false,
+ :inline_attachments => false
+ )
pdf.RDMwriteFormattedCell(190,5,'','', text, page.attachments, 0)
if page.attachments.any?
pdf.ln(5)