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

Table of Contents macro displays </h1> when heading ends with a Japanese dot character - or contains a Japanese comma character

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 4.0
    • 3.5.9
    • None

      When you have a heading that ends with the '。' character, the text "</h1>" appears in the table of contents output.

      This appears to affect content arranged in certain combination.

      See the attached screenshot:
      booya.png
      ToC_RenderedImage.jpg

      A sample HTML source is attached.

      Sample wiki markup:

      {toc}
      
      h1.1234。
      {loremipsum}
      h1.12345。
      {loremipsum}
      h1.123。
      {loremipsum}
      

      This also affects Japanese comma character, also broken when the headers are arranged in certain order.
      Sample markup:

      {toc} 
      
      h1. Google、Yahooなど 
      h1. あいうe、Yahoo 
      h1. あいうえ、かきく 
      h1. たちつて、となにぬ 
      h1. たちつて、となにぬ(これは発生しない) 
      h1. 今日は、雨が凄い 
      h1. PSP、インストール手順 
      h1. PSP(ProLiant Support Pack)、インストール手順(発生せず) 
      h1. 「Pukiwiki」からの移行計画 
      h1. 「旧ウィキ」からの移行計画 
      h1. 「あ」 
      h1. 「あ」いうえお 
      h1. テスト・始めます
      

        1. ToC_RenderedImage.jpg
          70 kB
          Kan Ogawa
        2. ToC_WikiMarkup.txt
          0.1 kB
          Kan Ogawa
        3. booya.htm
          60 kB
          Roy Hartono [Atlassian]
        4. booya.png
          451 kB
          Roy Hartono [Atlassian]

              matt@atlassian.com Matt Ryall
              f9ced3a62372 Kan Ogawa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: