Opened 10 years ago

Closed 10 years ago

#1439 closed Bug (worksforme)

BASE HREF tag results in _base_href attributes in other tags

Reported by: Bart Schaefer Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version:
Keywords: Pending WorksForMe Cc:

Description

In FullPage mode, when the document has a BASE HREF tag, something (I suspect Firefox/Gecko rather than FCKeditor but I'm not sure) is inserting a bogus _base_href attribute into nearly all of the other tags in the content. An example (enclosing angle brackets removed from tags) -- Given:

BASE HREF="http://www.theonion.com/onion3740/choosing_a_health_club.html"

img width="300" align="right" alt="Choosing A Health Club" src="http://graphics.theonion.com/pics_3740/health_club_tips.jpg" height="453" border="0"

Becomes:

img width="300" height="453" border="0" align="right" alt="Choosing A Health Club" src="http://graphics.theonion.com/pics_3740/health_club_tips.jpg" _base_href="http://www.theonion.com/onion3740/choosing_a_health_club.html" /

(I was testing on a page scarfed off The Onion website.) That _base_href attribute is not present in the original source. Also the original source was not XHTML so the trailing slash in the img tag was added, but that's less interesting than that the document now has 30 repetitions of the base URL scattered all through it.

Change History (2)

comment:1 Changed 10 years ago by Wojciech Olchawa

Keywords: Pending WorksForMe added

Hi!

I tried to reproduce your bug using IE and FF2 with no success. There was no transformation of code in my case. For test I used the latest SVN version and 2.6 beta realse. So could you please let us know what version of the editor have you encountered the bug in?

Thanks.

comment:2 Changed 10 years ago by Wojciech Olchawa

Resolution: worksforme
Status: newclosed

Ticket expired.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy