pdf-macro-trunk-r12194.diff

Toshi MARUYAMA, 2013-10-02 08:28

Download (782 Bytes)

View differences:

lib/redmine/export/pdf.rb
35 35

  
36 36
      class ITCPDF < TCPDF
37 37
        include Redmine::I18n
38
        include ApplicationHelper
39
        include ERB::Util
38 40
        attr_accessor :footer_date
39 41

  
40 42
        def initialize(lang, orientation='P')
......
113 115
        end
114 116

  
115 117
        def formatted_text(text)
116
          html = Redmine::WikiFormatting.to_html(Setting.text_formatting, text)
118
          html = textilizable(text)
117 119
          # Strip {{toc}} tags
118 120
          html.gsub!(/<p>\{\{([<>]?)toc\}\}<\/p>/i, '')
119 121
          html