<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -50,7 +50,7 @@ class EditSnip &lt; Dynasnip
     &lt;dl class=&quot;attributes&quot;&gt;
       &lt;% @snip_to_edit.attributes.each do |name, value| %&gt;
       &lt;dt&gt;&lt;%= name %&gt;&lt;/dt&gt;
-      &lt;% num_rows = value.split(&quot;\n&quot;).length + 1 %&gt;
+      &lt;% num_rows = (value || &quot;&quot;).split(&quot;\n&quot;).length + 1 %&gt;
       &lt;dd&gt;&lt;textarea name=&quot;&lt;%= name %&gt;&quot; class=&quot;&lt;%= name %&gt;&quot; rows=&quot;&lt;%= num_rows %&gt;&quot;&gt;&lt;%=h value %&gt;&lt;/textarea&gt;&lt;/dd&gt;
       &lt;% end %&gt;
       &lt;dt&gt;&lt;input class=&quot;attribute_name&quot; type=&quot;text&quot;&gt;&lt;/input&gt;&lt;/dt&gt;</diff>
      <filename>lib/vanilla/dynasnips/edit.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a310154f0701092b205bc39cdb1fdad28bbe92ae</id>
    </parent>
  </parents>
  <author>
    <name>James Adam</name>
    <email>james@lazyatom.com</email>
  </author>
  <url>http://github.com/lazyatom/vanilla-rb/commit/df13f494e3a99627c4d8d41d9e63b03dc50cbd0e</url>
  <id>df13f494e3a99627c4d8d41d9e63b03dc50cbd0e</id>
  <committed-date>2008-08-28T07:44:48-07:00</committed-date>
  <authored-date>2008-08-28T07:44:48-07:00</authored-date>
  <message>If the value of a snip attribute is nil, the editor shouldn't die.</message>
  <tree>36246ab76c59c3879386288633559a4b72ee8787</tree>
  <committer>
    <name>James Adam</name>
    <email>james@lazyatom.com</email>
  </committer>
</commit>
