MMBase

html cleanup in editwizards ruins local links

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 1.7.1
  • Fix Version/s: Irrelevant
  • Component/s: Editwizards
  • Description:
    Hide
    original bugid: #6620
    Hi,

    I link in the text like <a href="readmore">readmore</a> works perfect when "readmore" is a jumper or directory.

    However when the editwizard save such a link the html cleanup (un-)correct it to:

    <a href="http://localhost:8080/mmbase/edit/wizard/jsp/readmore">readmore</a>

    Which of course is non-valid link.

    Regards, Henk.
    Show
    original bugid: #6620 Hi, I link in the text like <a href="readmore">readmore</a> works perfect when "readmore" is a jumper or directory. However when the editwizard save such a link the html cleanup (un-)correct it to: <a href="http://localhost:8080/mmbase/edit/wizard/jsp/readmore">readmore</a> Which of course is non-valid link. Regards, Henk.

Activity

Hide
Ricardo Kustner added a comment - 1970-01-01 00:59
htmlarea
I don't think the bug is in the html cleanup javascript.
If you search the web you'll see more problems with htmlarea and relative links in other projects too. Unfortunately I couldn't find any of the suggested code parts to fix in the htmlarea code in the editwizards.
Show
Ricardo Kustner added a comment - 1970-01-01 00:59 htmlarea I don't think the bug is in the html cleanup javascript. If you search the web you'll see more problems with htmlarea and relative links in other projects too. Unfortunately I couldn't find any of the suggested code parts to fix in the htmlarea code in the editwizards.
Hide
Henk Hangyi added a comment - 1970-01-01 00:59
problem caused by bill g. the problem is caused by cleaning actions of IE in range.pasteHTML() used in my-htmleara.js
Show
Henk Hangyi added a comment - 1970-01-01 00:59 problem caused by bill g. the problem is caused by cleaning actions of IE in range.pasteHTML() used in my-htmleara.js
Hide
Michiel Meeuwissen added a comment - 2007-02-02 20:44
Duplicate of MMB-1138
Show
Michiel Meeuwissen added a comment - 2007-02-02 20:44 Duplicate of MMB-1138

People

Dates

  • Created:
    2004-11-09 10:45
    Updated:
    2009-07-31 16:26
    Resolved:
    2009-07-31 16:26