Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-273

Regression in (% %) parsing when a quote is missing

    Details

    • keywords:
      regression
    • Tests:
      Integration
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The following

      * (% class="pouet %) 1
      * (% class="pouet %) 2
      * (% class="pouet %) 3
      * (% class="pouet %) 4
      * (% class="pouet %) 5
      * (% class="pouet %) 6
      * (% class="pouet %) 7
      

      produce a correct list in XWiki 3.1 despite the missing quote to close the class name, but it produce garbage in XWiki 4.3.1 or later:

      * 2
      * 4
      * 6
      * (% class="pouet %) 7
      

      This seems minor, but lost in a large velocity macro or complexe xwiki code, it could became really confusing.

      Supporting a missing quote, and other minor typo as early as possible would help avoiding confusion IMO.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              softec Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: