Opened 10 years ago

Closed 10 years ago

#9088 closed defect (fixed)

unescaped markup problem in 1.3

Reported by: PhilippC Owned by: bill
Priority: high Milestone: 1.3.1
Component: Dijit Version: 1.3.0
Keywords: templateString, _Templated Cc: philipp.crocoll@…
Blocked By: Blocking:

Description (last modified by bill)

Using unescaped markup (something like ${!foo}) seems not to work anymore in Dojo 1.3. This is due to wrong usage of dojo.getObject (2nd parameter is missing):

line 45 of _Templated.js should be

if(key.charAt(0) == '!'){ value = dojo.getObject(key.substr(1), false, _this); }

instead of

if(key.charAt(0) == '!'){ value = dojo.getObject(key.substr(1), _this); }

Change History (2)

comment:1 Changed 10 years ago by bill

Description: modified (diff)
Owner: set to bill
Status: newassigned

Oops, my fault, this is from [15646]. OK, I'll fix. Thanks for the heads-up.

comment:2 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

Fixed in [17253] in trunk and 1.3 branch.

Note: See TracTickets for help on using tickets.