Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#241 closed defect (fixed)

typo in fixRelativeLinks-function

Reported by: xinha@… Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: 1.0
Severity: major Keywords: relative links
Cc:

Description

In the function HTMLArea.protoype.fixRelativeLinks there is a typo which prevents it from working correctly. Looks like the typo has been around for some time now.

if(typeof this.config.stripBaseHref != 'undefined' && this.config.stipBaseHref)

should be

if(typeof this.config.stripBaseHref != 'undefined' && this.config.stripBaseHref)

(missing 'r' in the second 'stripBaseHref').

Change History (2)

comment:1 Changed 14 years ago by niko

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

what a shame nobody noticed this bevore...
changeset:138

comment:2 Changed 14 years ago by edward.borland@…

brilliant.. excellent timing :)

Using the linker plugin to edit existing urls still adds the BaseHref? even if you edit a hyperlink with a relative reference.

Note: See TracTickets for help on using tickets.