<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -158,6 +158,7 @@ module ApplicationHelper
   end
   
   def white_list_with_removal(html)
+    return nil unless html
     html.gsub!(/&lt;script.+?&lt;\/script&gt;/mi, '')
     html.gsub!(/&lt;style.+?&lt;\/style&gt;/mi, '')
     white_list(html) { |node, bad| node.to_s.gsub(/&lt;[^&gt;]+&gt;/, '').gsub(/&lt;/, '&amp;lt;') }</diff>
      <filename>app/helpers/application_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1d488d7eb88d0a60721f1c4315b490efd328e53e</id>
    </parent>
  </parents>
  <author>
    <name>Tim Morgan</name>
    <login>seven1m</login>
    <email>tim@timmorgan.org</email>
  </author>
  <url>http://github.com/seven1m/onebody/commit/f10881b32d92bf5207267b22235e91f27c925b28</url>
  <id>f10881b32d92bf5207267b22235e91f27c925b28</id>
  <committed-date>2009-10-24T08:55:16-07:00</committed-date>
  <authored-date>2009-10-24T08:55:16-07:00</authored-date>
  <message>Return nil if html is nil already.</message>
  <tree>20f2b33068c31d5fa022eed79853e22aa7a68faa</tree>
  <committer>
    <name>Tim Morgan</name>
    <login>seven1m</login>
    <email>tim@timmorgan.org</email>
  </committer>
</commit>
