﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11026	Htmlentities of php start tag makes attributes empty in internet explorer	Pieter	Jakub Ś	"
'''Firefox 24 or Chrome 30.0 on Win8:'''

In code editor:


{{{
<p><a href=""&lt;?=$foo;?&gt;"">Bar</a></p>
}}}


Toggle source to wysywyg and toggle back to code


{{{
<p><a href=""&lt;?=$foo;?&gt;"">Bar</a></p>
}}}


The result is the same.



'''IE10 (and other IE) Win8:'''

In code editor


{{{
<p><a href=""&lt;?=$foo;?&gt;"">Bar</a></p>
}}}


Switch to wysywyg and back to code


{{{
<p><a href="""">Bar</a></p>
}}}


Result: href is empty


'''When I test this without a php start tag (loosing the ?) in IE10:'''

In code editor


{{{
<p><a href=""&lt;=$foo;?&gt;"">Bar</a></p>
}}}


Switch to wysywyg and back to code


{{{
<p><a href=""&lt;=$foo;?&gt;"">Bar</a></p>
}}}


The result is correct.



----

You can reproduce this on the CKEditor demo page.



In our environment it is the same but if I add the following to the config, it works:

{{{
config.protectedSource.push( /<\?[\s\S]*?\?>/g );
config.protectedSource.push( /&lt;\?[\s\S]*?\?&gt;/g );
}}}

But protectedSource is not something what we want to use.



Is this a bug?
Thanks in advance"	Bug	assigned	Normal		General	4.0		IE	
