Opened 12 years ago

Closed 12 years ago

#1309 closed defect (fixed)

Xinha chokes on anchors

Reported by: nicholasbs Owned by: gogo
Priority: normal Milestone: 0.96
Component: Xinha Core Version: trunk
Severity: normal Keywords:


Go into source view and create an anchor, e.g.:

<a name="test">Foo</a>

Now go back to WYSIWYG mode, click inside the anchor, and then click "Insert Link." Xinha gives a JavaScript? error saying that "html is null." This happens regardless of whether or not the anchor is actually selected.

I've tested this on Xinha nightly and 0.95.

Change History (1)

comment:1 Changed 12 years ago by nicholasbs

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

Changeset r1126 fixes this bug by updating fixRelativeLinks to return an empty string when given null input.

Note: See TracTickets for help on using tickets.