<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -46,6 +46,13 @@ module Rupture
       &quot;#{rupture_name} for #{rupture_platform}&quot;
     end
     
+    def formatted_ign_article_summary
+      if @ign_article_summary
+        CGI::unescapeHTML(@ign_article_summary).gsub(/target\s*=/, 'href=')
+      else
+        nil
+      end
+    end
     
     # Returns an array of game objects representing this game on other platforms.
     # Returns and empty array if none are available.</diff>
      <filename>lib/rupture/game.rb</filename>
    </modified>
    <modified>
      <diff>@@ -318,4 +318,14 @@ class GameTest &lt; Test::Unit::TestCase
       assert_equal &quot;DRIV3R for Xbox&quot;, game.title
     end
   end
+  
+  
+  context &quot;#formatted_ign_article_summary&quot; do
+    should &quot;return the HTML unescaped IGN review summary&quot; do
+      game = Rupture::Game.new(:ruptureName =&gt; &quot;DRIV3R&quot;, 
+        :rupturePlatform =&gt; &quot;Xbox&quot;, 
+        :ignArticleSummary =&gt; &quot;&amp;lt;a target=&amp;quot;http://ign.com/path/to/asset&amp;quot;&amp;gt;Click Me&amp;lt;/a&amp;gt;&quot;)
+      assert_equal '&lt;a href=&quot;http://ign.com/path/to/asset&quot;&gt;Click Me&lt;/a&gt;', game.formatted_ign_article_summary
+    end
+  end
 end</diff>
      <filename>test/game_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>68d7b6a4afc7adda9dd93eea20a3d7217c2f4e95</id>
    </parent>
  </parents>
  <author>
    <name>Dan Dofter</name>
    <email>dan@dofter.com</email>
  </author>
  <url>http://github.com/rupture/rupture/commit/c61ff968c0121eff5c13ec1e4b7a5856da06361f</url>
  <id>c61ff968c0121eff5c13ec1e4b7a5856da06361f</id>
  <committed-date>2009-10-05T15:39:42-07:00</committed-date>
  <authored-date>2009-10-05T15:39:42-07:00</authored-date>
  <message>added method to format IGN article summary</message>
  <tree>8579d2beb62226725037cfd3945037a5728a2c1a</tree>
  <committer>
    <name>Dan Dofter</name>
    <email>dan@dofter.com</email>
  </committer>
</commit>
