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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 6.3.3, 6.5.1, 6.11.0, 7.1.0, 7.3.1, 7.7.3, 7.8.0, 7.13.0, 7.19.4, 8.0.0, 8.0.3, 7.13.13, 8.2.1, 8.5.14, 9.0.0
    • Macros - Other Macros

      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.

            [CONFSERVER-53262] Status macro titles display as square characters in the edit mode using Chinese or Korean font

            This still exists in 9.2.4.

            It is not just the status widget. The "Create from template" macro button also has the same problem.

            The "Edit ‘Page properties’ Macro" tilte during editing also shows square boxes.

            David Dibben added a comment - This still exists in 9.2.4. It is not just the status widget. The "Create from template" macro button also has the same problem. The "Edit ‘Page properties’ Macro" tilte during editing also shows square boxes.
            SET Analytics Bot made changes -
            Support reference count Original: 38 New: 39
            SET Analytics Bot made changes -
            Support reference count Original: 37 New: 38
            Harrison made changes -
            Affects Version/s New: 9.0.0 [ 109391 ]
            Renata Dornelas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 429610 ]
            SET Analytics Bot made changes -
            Support reference count Original: 36 New: 37
            Kobus van Eeden (Inactive) made changes -
            Affects Version/s New: 8.5.14 [ 108954 ]
            SET Analytics Bot made changes -
            Support reference count Original: 35 New: 36
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            Support reference count Original: 34 New: 35

              Unassigned Unassigned
              pyarakala Praveen Yarakala (Inactive)
              Affected customers:
              41 This affects my team
              Watchers:
              42 Start watching this issue

                Created:
                Updated: