<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,6 @@
 require 'xss_shield/safe_string'
 # Tarantula doesn't use haml
 # require 'xss_shield/haml_hacks'
-require 'xss_shield/erb_hacks'
+# ERB hacks blow up Rails
+# require 'xss_shield/erb_hacks'
 require 'xss_shield/secure_helpers'</diff>
      <filename>vendor/xss-shield/lib/xss_shield.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,56 +6,56 @@ class XSSProtectedERB &lt; ERB
       content = ''
       scanner = make_scanner(s)
       scanner.scan do |token|
-	if scanner.stag.nil?
-	  case token
+  if scanner.stag.nil?
+    case token
           when PercentLine
-	    out.push(&quot;#{@put_cmd} #{content.dump}&quot;) if content.size &gt; 0
-	    content = ''
+      out.push(&quot;#{@put_cmd} #{content.dump}&quot;) if content.size &gt; 0
+      content = ''
             out.push(token.to_s)
             out.cr
-	  when :cr
-	    out.cr
-	  when '&lt;%', '&lt;%=', '&lt;%#'
-	    scanner.stag = token
-	    out.push(&quot;#{@put_cmd} #{content.dump}&quot;) if content.size &gt; 0
-	    content = ''
-	  when &quot;\n&quot;
-	    content &lt;&lt; &quot;\n&quot;
-	    out.push(&quot;#{@put_cmd} #{content.dump}&quot;)
-	    out.cr
-	    content = ''
-	  when '&lt;%%'
-	    content &lt;&lt; '&lt;%'
-	  else
-	    content &lt;&lt; token
-	  end
-	else
-	  case token
-	  when '%&gt;'
-	    case scanner.stag
-	    when '&lt;%'
-	      if content[-1] == ?\n
-		content.chop!
-		out.push(content)
-		out.cr
-	      else
-		out.push(content)
-	      end
-	    when '&lt;%='
+    when :cr
+      out.cr
+    when '&lt;%', '&lt;%=', '&lt;%#'
+      scanner.stag = token
+      out.push(&quot;#{@put_cmd} #{content.dump}&quot;) if content.size &gt; 0
+      content = ''
+    when &quot;\n&quot;
+      content &lt;&lt; &quot;\n&quot;
+      out.push(&quot;#{@put_cmd} #{content.dump}&quot;)
+      out.cr
+      content = ''
+    when '&lt;%%'
+      content &lt;&lt; '&lt;%'
+    else
+      content &lt;&lt; token
+    end
+  else
+    case token
+    when '%&gt;'
+      case scanner.stag
+      when '&lt;%'
+        if content[-1] == ?\n
+    content.chop!
+    out.push(content)
+    out.cr
+        else
+    out.push(content)
+        end
+      when '&lt;%='
               # NOTE: Changed lines
-	      out.push(&quot;#{@insert_cmd}((#{content}).to_s_xss_protected)&quot;)
+        out.push(&quot;#{@insert_cmd}((#{content}).to_s_xss_protected)&quot;)
               # NOTE: End changed lines
-	    when '&lt;%#'
-	      # out.push(&quot;# #{content.dump}&quot;)
-	    end
-	    scanner.stag = nil
-	    content = ''
-	  when '%%&gt;'
-	    content &lt;&lt; '%&gt;'
-	  else
-	    content &lt;&lt; token
-	  end
-	end
+      when '&lt;%#'
+        # out.push(&quot;# #{content.dump}&quot;)
+      end
+      scanner.stag = nil
+      content = ''
+    when '%%&gt;'
+      content &lt;&lt; '%&gt;'
+    else
+      content &lt;&lt; token
+    end
+  end
       end
       out.push(&quot;#{@put_cmd} #{content.dump}&quot;) if content.size &gt; 0
       out.close</diff>
      <filename>vendor/xss-shield/lib/xss_shield/erb_hacks.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4853da135ffa460af2967213f74ed3cb145f6dcc</id>
    </parent>
  </parents>
  <author>
    <name>stu</name>
    <email>stu@fe6a39be-99a9-dc11-9a70-001c23e17821</email>
  </author>
  <url>http://github.com/relevance/tarantula/commit/ed72f3ddbcc4d2f965d131176aee0ab8d8c9dde7</url>
  <id>ed72f3ddbcc4d2f965d131176aee0ab8d8c9dde7</id>
  <committed-date>2008-02-28T08:37:09-08:00</committed-date>
  <authored-date>2008-02-28T08:37:09-08:00</authored-date>
  <message>turn off parts of xss_shield that are blowing up Fizmo</message>
  <tree>f806b18634e36f53f65130b8b46c95a8ee4e66f0</tree>
  <committer>
    <name>stu</name>
    <email>stu@fe6a39be-99a9-dc11-9a70-001c23e17821</email>
  </committer>
</commit>
