Closed rnaud closed 13 years ago
It should return a jQuery object, ret, wrapping a single text node, so ret.text() = "https://user@email.com:32323232@exaple.com/app/api"
However jQuery objects wrapping only text nodes are not really reliable. jQuery does not provide real support for wrapping content that starts or ends with a text node. Outer text nodes are sometimes stripped, to trying to chain with appendTo or similar will probably not work. JsRender is the future version of jQuery templates which will provide full support for rendering strings, and having templates with no HTML content. See also JsViews .
Hello, I have a slight problem with using the template plugin with no html content
Am I doing something wrong ? Is there any config I should change to avoid that ?