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

Allow newline before macro parameters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.2-milestone-1
    • Component/s: Macro
    • Labels:
      None
    • Tests:
      Unit
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The parameters of a macro can be put on different lines to improve readability when there are many parameters. However, the parser requires a space immediately after the macro name, or the macro will not be parsed as a macro. This is very suprising and we should allow both space and newline at this position.

        Attachments

          Activity

            People

            Assignee:
            aj Andreas Jonsson
            Reporter:
            aj Andreas Jonsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: