… this works as expected in Chrome, Safari and even IE - but not in FireFox.
Firefox does not replace the second occurance of {common.getUrl()} in the img tag but it does replace the other two correctly. Originally I just had the first occurrence and put the others in there for debugging.
Is there something special about the img tag or src attribute that is causing this? I tried replacing the double quotes with single quotes and then no quotes but it all ended up the same - displayed as follows when looking at the generated code in FireBug:
Can you attach the html|js file with the snippet where issue occurs ( we need not full example, just the init code ) - the output of firebug looks very strange, it contains escaped characters while must contain the original, not-escaped code.