Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1639

'null' displayed when using list wiki markup without text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1 M4
    • Fix Version/s: 1.2 M1
    • Component/s: {Unused} Wiki features
    • Labels:
      None
    • Similar issues:

      Description

      Entering something like:

      Something before.
      ---
      And something after.
      

      will cause a lot of 'null' strings to be displayed as list items. This is caused by the fact that the regular expression that catches lists allows newline as a valid space character between the list marker and the list text, while the java code that displays lists does not.

        Attachments

          Activity

            People

            Assignee:
            sdumitriu Sergiu Dumitriu
            Reporter:
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: