module and url are used to call `dojo.moduleUrl()` to generate a module URL.
If value is specified, the cache value for the moduleUrl will be set to
that value. Otherwise, dojo.cache will fetch the moduleUrl and store it
in its internal cache and return that cached value for the URL. To clear
a cache value pass null for value. Since XMLHttpRequest (XHR) is used to fetch the
the URL contents, only modules on the same domain of the page can use this capability.
The build system can inline the cache values though, to allow for xdomain hosting.
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.
Copied from dijit._Templated._sanitizeTemplateString.