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

Fragment links with no markers are badly converted to XWiki 2.1 syntax

    Details

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

      Description

      XHTML input

      <p>one <a href="#foo">two</a> three</p>
      

      XWiki 2.1 output

      one [[two>>url:#foo]] three
      

      with the link pointing to

      /xwiki/bin/create/Space/url%3A%23foo?parent=Space.Test
      

      Expected result is

      one [[two>>||anchor="foo"]] three
      

      with the link pointing to

      /xwiki/bin/view/Space/Test#foo
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                mflorea Marius Dumitru Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

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