Ticket #8534 (closed Bug: invalid)

Opened 3 years ago

Last modified 3 years ago

#7243 bug again

Reported by: madrian Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.2
Keywords: Cc:

Description

Hi all,

unfortunatelly #7243 does not fix the bug.

Problem:

<p> <a href="http://xy.eu/downloads/1.pdf" onClick="javascript: pageTracker._trackPageview('/downloads/1.pdf'); ><img alt="" height="210" src="http://mihalko.eu/image/data/slider/ctm_t.jpg" width="400" /><br /> </a></p>

Becomes:

<p>

&lt;a data-cke-saved-href=&quot;http://mihalko.eu/downloads/1.pdf&quot; href=&quot;http://mihalko.eu/downloads/1.pdf&quot; onclick=&quot;javascript: pageTracker._trackPageview(&#39;/downloads/1.pdf&#39;); &gt;<img alt=" " height="210" src="http://mihalko.eu/image/data/slider/ctm_t.jpg" width="400" /></p>

In demo and in the latest version too.

I am using Mac Os X Leopard Firefox/Safari

Change History

comment:1 Changed 3 years ago by j.swiderski

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

What you have given me was invalid HTML.

If you change src=" http: to src="http: and
onClick="javascript: pageTracker._trackPageview('/downloads/1.pdf'); to
onClick="javascript: pageTracker._trackPageview('/downloads/1.pdf');" (notice the leading quotation mark)
Everything works as expected.

Below is the correct code:

<p> <a href="http://xy.eu/downloads/1.pdf" onClick="javascript: pageTracker._trackPageview('/downloads/1.pdf');" ><img alt="" height="210" src="http://mihalko.eu/image/data/slider/ctm_t.jpg" width="400" /><br /> </a></p> 
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy