Opened 3 years ago

Last modified 3 years ago

#1568 new defect

TransformInnerHTML.js replace error

Reported by: guest Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

Xinha happens to sometimes transform code of the form
href="http://some.url.com/?par=F%FCr%20mich"
to
$1http://some.url.com/?par=F%FCr%20mich"
(seen in current Firefox)

I discovered that this can be fixed by replacing this:
before: '$1'
after: RegExp.$1
(appears 2times in TransformInnerHTML.js)

Change History (1)

comment:1 Changed 3 years ago by guest

correct: appears 3 times.

Note: See TracTickets for help on using tickets.