<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Bringing more HTML to Silverlight [HtmlTextBlock improvements]</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx</link><description>I blogged about my HtmlTextBlock implementation for Silverlight a few days ago. In that post I described HtmlTextBlock as a "plug-compatible" replacement for TextBlock that knows how to take simple HTML (technically XHTML ) and display it in a manner</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Techy News Blog &amp;raquo; Bringing more HTML to Silverlight [HtmlTextBlock improvements]</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx#5103972</link><pubDate>Mon, 24 Sep 2007 21:34:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5103972</guid><dc:creator>Techy News Blog » Bringing more HTML to Silverlight [HtmlTextBlock improvements]</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.artofbam.com/wordpress/?p=2523"&gt;http://www.artofbam.com/wordpress/?p=2523&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Bringing more HTML to Silverlight [HtmlTextBlock improvements]</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx#5113641</link><pubDate>Tue, 25 Sep 2007 09:30:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5113641</guid><dc:creator>rbirkby</dc:creator><description>&lt;p&gt;Inject the HTML into an IFrame in a different security context. This will give you the security you need.&lt;/p&gt;
</description></item><item><title>re: Bringing more HTML to Silverlight [HtmlTextBlock improvements]</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx#5122505</link><pubDate>Tue, 25 Sep 2007 18:19:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5122505</guid><dc:creator>Delay</dc:creator><description>&lt;p&gt;rbirkby,&lt;/p&gt;
&lt;p&gt;Thanks very much for the suggestion! If you have a pointer to more information about this approach, I'd love to understand the implications a little better. According to my current understanding, moving to an IFRAME might let me use a different security context, but if I can't also turn off JavaScript entirely then I'm concerned the basic vulnerability still exists - even if it's limited to annoying alert dialogs.&lt;/p&gt;
&lt;p&gt;On a related note, my concern about searching for &amp;quot;&amp;lt;script&amp;gt;...&amp;lt;/script&amp;gt;&amp;quot; and ignoring it is that clever folks might be able to sneak the tags through anyway (ex: &amp;quot;&amp;lt;script &amp;gt;&amp;quot;, etc.). I know I could use a Regex to do a pretty good job, but the underlying issue still concerns me. And even if I believed I'd addressed the &amp;lt;script&amp;gt; concern, I'd be worried about something like &amp;lt;img ... onload=&amp;quot;...&amp;quot; /&amp;gt; where script runs for an event handler instead.&lt;/p&gt;
&lt;p&gt;So if you've got a suggestion that lets me disable script entirely, then I'm definitely interested! :)&lt;/p&gt;
</description></item><item><title>Silverlight Cream for September 25, 2007</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx#5126347</link><pubDate>Tue, 25 Sep 2007 21:30:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5126347</guid><dc:creator>WynApse</dc:creator><description>&lt;p&gt;Silverlight Cream for September 25, 2007&lt;/p&gt;
</description></item><item><title>re: Bringing more HTML to Silverlight [HtmlTextBlock improvements]</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx#5382131</link><pubDate>Tue, 09 Oct 2007 16:03:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5382131</guid><dc:creator>michael.tucker@getronics.com</dc:creator><description>&lt;p&gt;Thanks a bunch for this great control! &amp;nbsp;It beings much needed HTML functionality back into Silverlight. &amp;nbsp;Any way to get the links to actually fire? &amp;nbsp;Maybe via a HtmlPage.Navigate() call or something?&lt;/p&gt;
</description></item><item><title>re: Bringing more HTML to Silverlight [HtmlTextBlock improvements]</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx#5384072</link><pubDate>Tue, 09 Oct 2007 20:40:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5384072</guid><dc:creator>Delay</dc:creator><description>&lt;p&gt;Michael,&lt;/p&gt;
&lt;p&gt;I explain why links don't navigate in the third &amp;quot;note&amp;quot; of the initial post. Per your suggestion, .Navigate would be a good way to do the navigation - but the difficulty is in detecting the click of the link instead! :) Basically, there doesn't seem to be a good way to detect a click *on the link itself* at the moment. While it would be possible to detect a click on the HtmlTextBlock, that would only seem to make sense if there were exactly one link present. So for lack of a good way to support this, I chose not to for now. However, if you have a scenario where it makes sense to behave differently, by all means do so! :)&lt;/p&gt;
</description></item><item><title>Hello Silverlight - Start Your Silverlight Journey Today!</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx#5485794</link><pubDate>Wed, 17 Oct 2007 10:19:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5485794</guid><dc:creator>BradVin's .Net Blog</dc:creator><description>&lt;p&gt;I think today is the start for great things to come. And why? Because I had my first article published&lt;/p&gt;
</description></item><item><title>Continuing support for simple HTML display in Silverlight [HtmlTextBlock sample updated for Silverlight 2 Beta 1!]</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx#8294320</link><pubDate>Mon, 17 Mar 2008 22:48:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8294320</guid><dc:creator>Delay's Blog</dc:creator><description>&lt;p&gt;A few months ago when Silverlight 1.1 Alpha was all the rage, I wrote a sample control that made a best-effort&lt;/p&gt;
</description></item><item><title>Again with the support for simple HTML display in Silverlight [HtmlTextBlock sample updated for Silverlight 2 Beta 2!]</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx#8591719</link><pubDate>Wed, 11 Jun 2008 20:15:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8591719</guid><dc:creator>Delay's Blog</dc:creator><description>&lt;p&gt;A customer recently asked about an update to my HtmlTextBlock sample for the newly released Silverlight&lt;/p&gt;
</description></item><item><title>My take on simple HTML display in Silverlight [HtmlTextBlock sample updated for Silverlight 2 RTW!]</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx#9061427</link><pubDate>Wed, 12 Nov 2008 09:15:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9061427</guid><dc:creator>Delay's Blog</dc:creator><description>&lt;p&gt;A couple of readers have asked about an update to my long-running HtmlTextBlock sample for Silverlight&lt;/p&gt;
</description></item><item><title>A fix for simple HTML display in Silverlight [HtmlTextBlock bug fix for Silverlight 2 RTW!]</title><link>http://blogs.msdn.com/delay/archive/2007/09/24/bringing-more-html-to-silverlight-htmltextblock-improvements.aspx#9064181</link><pubDate>Wed, 12 Nov 2008 23:16:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9064181</guid><dc:creator>Delay's Blog</dc:creator><description>&lt;p&gt;I updated my HtmlTextBlock sample for RTW last night and got an email from kind reader Ed Silverton this&lt;/p&gt;
</description></item></channel></rss>