Opened 10 years ago

Closed 8 years ago

#10830 closed defect (patchwelcome)

[regression] dojox.dtl has a problem with script tags on IE6

Reported by: barcia@… Owned by: Neil Roberts
Priority: low Milestone: tbd
Component: DojoX DTL Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Re-occurence of: #5121

This example test fail on IE6 but get passed on FF2, Opera9 and Safari3 (win).

function test_tag_script_static(t){

    var dd = dojox.dtl;

    var context = new dd.Context({

        item: "apple"

    }); var template = new dd.HtmlTemplate?('<div>Testo<script> func("apple") </script></div>');

    t.is('<div>Testo<script> func("apple") </script></div>', dd.tests.html.util.render(template, context));

}, function test_tag_script_dynamic(t){

    var dd = dojox.dtl;

    var context = new dd.Context({

        item: "apple"

    }); var template = new dd.HtmlTemplate?('<div>Testo<script> func("{{ item }}") </script></div>');

    t.is('<div>Testo<script> func("apple") </script></div>', dd.tests.html.util.render(template, context));

}

Change History (2)

comment:1 Changed 10 years ago by bill

Component: GeneralDojoX DTL
Description: modified (diff)
Owner: changed from anonymous to Neil Roberts
Summary: This old bug seems to have been reintroduced into 1.4.1[regression] dojox.dtl has a problem with script tags on IE6

comment:2 Changed 8 years ago by ben hockey

Priority: highlow
Resolution: patchwelcome
Status: newclosed

dtl is unsupported. any further patches are welcome.

Note: See TracTickets for help on using tickets.