I’m running EE 2.2.1 build 20110705 and I have encountered the following which I assume is a bug.
I have the following code in one my embedded template. The template is embedded in a [removed] tag in the main page. This code was written in 1.5.x migrated to 1.6.x, migrated to 2.1.x and it has always worked, according to the history the last time I worked on it was in April 2010 so I would have considered it rock-solid 😊
$('#tamron').flash({ swf:'{site_url}clic/theme/ads/Tamron_B005_120x600_prague_v2_FR.swf',width:120,height:600, hasVersion: 7 });In EE 2.2.1, it renders as:
$('#tamron').flash();so it removes the arguments for the function. I had to rewrite as:
$('#tamron').flash({
swf:'http://www.declencheur.com/clic/theme/ads/Tamron_B005_120x600_prague_v2_FR.swf',width:120,height:600, hasVersion: 7 });Note the line break and the removal of the {site_url} variable. I assume this is a bug in the 2.2.1 parser. Please confirm and I’ll file a bug report.
Thanks