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

Macro inside link isn't parsed as inline macro

    XMLWordPrintable

Details

    • Unit, Integration
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      Create a page with content

      [[
      
      {{info}}Type your information message here.{{/info}}>>https://www.xwiki.org/xwiki/bin/view/Main/]]
      
      [[{{info}}Type your information message here.{{/info}}>>https://www.xwiki.org/xwiki/bin/view/Main/]]
      
      [[A
      
      link
      
      with
      
      some
      
      words>>https://www.xwiki.org/xwiki/bin/view/Main/]]
      
      [[Alinkwithsomewords>>https://www.xwiki.org/xwiki/bin/view/Main/]]
      
      

      Expected result:

      The first two and the last two links are rendered the same.

      Actual result:

      While the last two links are the same (we ignore paragraphs), the first two are different and the first syntax in particular is clearly broken:

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: