jQuery('img#yw0').after("<a href="#" id="yt0">Get a new code</a>");
(HTML Validator in FF says that closed tag in this place is invalid)
diff:
/framework/web/helpers/CJavaScript.php (working copy) @@ -31,7 +31,7 @@ if($forUrl) return strtr($js,array('%'=>'%25',"t"=>'t',"n"=>'n',"r"=>'r','"'=>'"','''=>'\'','\'=>'\\')); else - return strtr($js,array("t"=>'t',"n"=>'n',"r"=>'r','"'=>'"','''=>'\'','\'=>'\\')); + return strtr($js,array("t"=>'t',"n"=>'n',"r"=>'r','"'=>'"','''=>'\'','\'=>'\\','</'=>'</')); } /**