Don't change my code, especially when it is within an {html} macro!

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 3.5
    • Affects Version/s: None
    • Component/s: None

      My links are getting manipulated when I submit them.
      If I write this link:

      {html}<A href="/display/test/testpage">Test Page</A>{html}

      it gets changed to:

      {html}<A href="http://(my ip address)/display/test/testpage">Test Page</A>{html}

      This would not be a big deal except that the wiki may change to a different server or the server may get a different ip address in the future, which would break all these links.

      Another annoying example:
      I am using the Top and Left Navigation theme and wanted to modify the Navigation to show submenus. Here is the code:

      {html}<h5><a href="#" onCLick="toggleVisibility('menunav'); return false;"><img src="/images/icons/docs_16.gif" width=16 height=16 border=0 align=absmiddle > Show Menu</a></h5>{html}

      Upon submit, the code is changed to this:

      {html}<H5><A href="http://(my ip address)/pages/editpage.action#" onclick="return true;toggleVisibility('menunav'); return false;"><IMG align="absMiddle" border="0" height="16" src="http://(my ip address)/images/icons/docs_16.gif" width="16"></IMG> Show Menu</A></H5>{html}

      Why is the return:true added to my onclick? Why is the editpage.action URL added to my #? Why mess with my code? Just leave it alone.

              Assignee:
              Don Willis
              Reporter:
              Joe
              Votes:
              4 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: