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

The show code view renders URL escaped characters when it shouldn't

    Details

    • Similar issues:

      Description

      For example, the following content:

      <input type="text" name="text" value="$!text.replace(">", "&gt;").replace("<", "&lt;").replace('"', "&quot;")" size="20"/>
      in space #spaceselect($space $spaces $spacesText) <input type="submit" value="Search"/>
      

      Will get displayed as:

      <input type="text" name="text" value="$!text.replace(">", ">").replace("<", "<").replace('"', """)" size="20"/>
      in space #spaceselect($space $spaces $spacesText) <input type="submit" value="Search"/>
      

      (note that gt; lt; quot; etc chars have been replaced)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvdrean Jean-Vincent Drean
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: