Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-42748

Export to PDF in another language does not work with preformatted text

XMLWordPrintable

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Summary

      When trying to export a Confluence page in another languague (say russian) to PDF, it will ignore all text that is using code blocks or that is preformatted.

      Steps to Reproduce

      1. Install another language package into Confluence, e.g.: arial-atlassian.ttf (instructions)
      2. Create a page on Confluence with russian characters. E.g.:
        <pre>adsccas</pre>
        <p>фывфыв</p>
        <pre>фывфыв</pre>
        <p>&nbsp;</p>
        <pre>var blabla=1; //русский комментарий.</pre>
        <p>&nbsp;</p><ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="6c08de39-8d94-45af-ab61-a5c5c23566c0"><ac:parameter ac:name="language">js</ac:parameter><ac:parameter ac:name="title">test block</ac:parameter><ac:parameter ac:name="linenumbers">true</ac:parameter><ac:plain-text-body><![CDATA[var blabla=1; //русский комментарий.]]></ac:plain-text-body></ac:structured-macro>
      3. Export this page to pdf

      Expected Results

      File should be exported with all the content on the page.

      Actual Results

      File is missing some texts (preformatted and in code blocks ones)

      Page:

      Export:

      Workaround

      The only workaround would be to use the regular paragraph format on those texts and to not use the code block.

              Unassigned Unassigned
              ediel Elisa [Atlassian]
              Votes:
              21 Vote for this issue
              Watchers:
              20 Start watching this issue

                Created:
                Updated: