You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the qtip plugin which can make use of html stored in an attribute to generate a tooltip. I converted a chunk of code to use templates some of which contain html in the alt attribute. Below is an example:
This construction creates errors when a template is generated in all major browsers specifically:
'nodes' is null or not an object' at line 431.
Some combinations of html don't produce outright errors but do cause rendering problems. Escaping the html clears up the problem in all browsers except IE. The only solution that works cross browser is to remove all characters that could be construed as html. At a minimum I would expect that escaped html contained in attributes should be tempatable across all browsers.
The text was updated successfully, but these errors were encountered:
Can you provide a bit more context for repro of this problem. I run the following in IE8 and the attribute is in the rendered template instance, with the content preserved in the attribute, and no error on line 431:
I'm using the qtip plugin which can make use of html stored in an attribute to generate a tooltip. I converted a chunk of code to use templates some of which contain html in the alt attribute. Below is an example:
This construction creates errors when a template is generated in all major browsers specifically:
'nodes' is null or not an object' at line 431.
Some combinations of html don't produce outright errors but do cause rendering problems. Escaping the html clears up the problem in all browsers except IE. The only solution that works cross browser is to remove all characters that could be construed as html. At a minimum I would expect that escaped html contained in attributes should be tempatable across all browsers.
The text was updated successfully, but these errors were encountered: