I met the problem like this post talked about
http://social.msdn.microsoft.com/Forums/en-US/winappswithhtml5/thread/e35017b4-e21b-4807-8668-fc3c332c6b32
I get some untrusted html content from web, and put the content in my app, use innerHTML
then I found some content can't display as expected, and the error which marked in the post above occur.
so I use th function toStaticHTML to filter the content
but it seems not work well, there are still some content can't not dispaly well, and the error occur the same.
here is my code:
var list = new WinJS.Binding.List();
// many items contain untrusted content
items.forEach(function (item) {
// filter the content
item.htmlContent = toStaticHTML(item.content);
list.push(item);
});
<article class="article-content" data-win-bind="innerHTML: htmlContent"></article>
please help! thx!