x550j / trimpath

Automatically exported from code.google.com/p/trimpath
0 stars 0 forks source link

Template is not parsed correctly in firefox But works well with Chrome and IE #30

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

 <div id="myid"><a href="${'http://www.google.com'}">Google</a></div> 

    <SCRIPT LANGUAGE="JavaScript"> 
        var data = { };
        var element = document.getElementById("myid");
        element.innerHTML = TrimPath.processDOMTemplate("myid", 
data);
    </SCRIPT>

What is the expected output? What do you see instead?
The href attribute should have the www.google.com value. But 
${'http://www.google.com'} value showing on firefox when i click on Google
But works well with IE and chrome browsers.

What version of the product are you using? On what operating system?
1.1.2 (template.js) on windows xp

Please provide any additional information below.

Original issue reported on code.google.com by naresh.n...@gmail.com on 31 Jul 2009 at 2:22