Opened 9 years ago

Closed 9 years ago

#10863 closed defect (fixed)

add test for null content in dojox.atom.io.model.js

Reported by: Jared Jurkiewicz Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.5
Component: General Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

in dojox.atom.io.model.js there is a call to the unescape function for html content but there is no check for a null value

if(lowerType === "html"
lowerType === "text/html" lowerType === "xhtml" lowerType

"text/xhtml"){

this.value = dojox.atom.io.model.util.unEscapeHtml(this.value);

Should be: this.value = this.value?dojox.atom.io.model.util.unEscapeHtml(thi s.value):"";

Change History (1)

comment:1 Changed 9 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.