dijit._Templated._sanitizeTemplateString
dojo.require("dijit._Templated");
defined in dijit/_Templated.js
Strips <?xml ...?> declarations so that external SVG and XML documents can be added to a document without worry. Also, if the string is an HTML document, only the part inside the body tag is returned.
Usage
function (/*String*/ tString) (view source)
parameter | type | description |
---|---|---|
tString | String |