Opened 11 years ago
Closed 11 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
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):"";
Note: See
TracTickets for help on using
tickets.