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

    XMLWordPrintable

Details

    • Integration
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: