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

Status macro titles display as square characters in the edit mode using Chinese or Korean font

    XMLWordPrintable

Details

    Description

      Summary:

      Confluence Status Macro titles display as square characters in the edit mode with Chinese/Japanese/Korean (CJK) fonts

      Steps to Reproduce

      1. Create a page in latest Confluence version
      2. Edit the page
      3. Use status macro whose title is in Chinese "用户编辑了这个页面"
      4. Check that the title gets garbled in the Edit mode 

      Expected results

      The Macro title should display Chinese characters in the edit mode.

      Actual Results

      Attached is the screen shot which shows the garbled characters

      Cause

      In edit mode the status macro is rendered as an image, where are in view mode it's HTML span.

      URL for the image in edit is

      and in edit mode we can see the HTML is

      <img class="editor-inline-macro" height="18" width="88" src="/plugins/servlet/status-macro/placeholder?title=%E7%94%A8%E6%88%B7%E7%BC%96%E8%BE%91%E4%BA%86%E8%BF%99%E4%B8%AA%E9%A1%B5%E9%9D%A2" data-macro-name="status" data-macro-parameters="title=用户编辑了这个页面" data-macro-schema-version="1" data-macro-id="4101f99e-6663-4475-9e3f-45ba83058259"> 

       In view mode the HTML is

      <span class="status-macro aui-lozenge conf-macro output-inline" data-hasbody="false" data-macro-name="status">用户编辑了这个页面</span> 

       

      Workaround

      • Remove if there are any Arial fonts exist in the system with fc-list command.
      • Issue may arise even if the Arial font is not installed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pyarakala Praveen Yarakala (Inactive)
              Votes:
              40 Vote for this issue
              Watchers:
              38 Start watching this issue

              Dates

                Created:
                Updated: