Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12049

Internal link (that open a new windows) in a PrettyName property is malformed in edit mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 6.4.3
    • None
    • Unknown

    Description

      Hello,

      When I create a DocClass, sheet & Template with a property containing this link in PrettyName:

      [[label>>MySpace.MyPage||rel="__blank"]]
      

      In view mode the link is working well:

      <span class="wikilink">
      <a rel="__blank" href="/xwiki/bin/view/MySpace/MyPage" target="_blank">label</a>
      </span>
      

      but my form in edit mode HTML code of same link is incomplete:

      <span class="wikilink">
      <a rel="__blank" href="/xwiki/bin/view/MySpace/MyPage">label</a>
      </span>
      

      target="_blank" missing and clicking on this link doesn't opened in a new windows (and all non recorded data of the form is lost of course).

      (MySpace.MyPage exist)

      Thxs.

      Pascal B

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              Pbas Pascal BASTIEN
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: