Opened 9 years ago

Closed 9 years ago

#1083 closed defect (fixed)

Convert URLs to links - Error

Reported by: guest Owned by: gogo
Priority: highest Milestone:
Component: Xinha Core Version:
Severity: blocker Keywords:
Cc:

Description

I found an error where the convertUrlsToLinks function changes the link url even if it already exists, it's reproducable in Firefox with the latest Xinha version (http://xinha.gogo.co.nz/xinha-nightly/examples/ext_example.html) and by using the following code:

  <p><a href="http://www.domain.com/06.09.07.doc"> 06.09.07</a> </p>

Type this in code view, switch to wysiwyg, click someware into the linked text and then click right-arrow until the cursor reaches the end of the linked text and get's out of the 'a' tag. Switch back to code view -- the linked Url will be changed.

Change History (1)

comment:1 Changed 9 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

rev [894]: changed the condition for updating a link from does the href contain the text content of the link to does the href equal the text content + http(s):

Note: See TracTickets for help on using tickets.