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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 4.0
    • Affects Version/s: 3.5.9
    • Component/s: 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. booya.htm
          60 kB
        2. booya.png
          booya.png
          451 kB
        3. ToC_RenderedImage.jpg
          ToC_RenderedImage.jpg
          70 kB
        4. ToC_WikiMarkup.txt
          0.1 kB

            Assignee:
            Matt Ryall
            Reporter:
            Kan Ogawa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: