<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>spec/views/notes/_notes.rhtml_spec.rb</filename>
    </added>
    <added>
      <filename>spec/views/todos/_toggle_notes.rhtml_spec.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,7 @@
 &lt;div id=&quot;&lt;%= dom_id(note, 'container') %&gt;&quot;&gt;
   &lt;h2&gt;&lt;%= link_to(&quot;Note #{note.id}&quot;, note_path(note), :title =&gt; &quot;Show note #{note.id}&quot; ) %&gt;&lt;/h2&gt;
   &lt;div id=&quot;&lt;%= dom_id(note) %&gt;&quot;&gt;
-    &lt;%= sanitize(textilize(note.body.gsub(/((https?:\/\/[^ \n\t]*))/, '&quot;\1&quot;:\2'))) %&gt;
+    &lt;%= sanitize(markdown(auto_link(note.body))) %&gt;
        
     &lt;div class=&quot;note_footer&quot;&gt;
       &lt;%= link_to_remote( </diff>
      <filename>app/views/notes/_notes.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -3,5 +3,5 @@
   element.next('.todo_notes').toggle
 end -%&gt;
 &lt;div class=&quot;todo_notes&quot; id=&quot;&lt;%= dom_id(item, 'notes') %&gt;&quot; style=&quot;display:none&quot;&gt;
-  &lt;%= markdown( item.notes.gsub(/((https?:\/\/[^ \n\t]*))/, '&quot;\1&quot;:\2') ) %&gt;
+  &lt;%= sanitize(markdown( auto_link(item.notes)) ) %&gt;
 &lt;/div&gt;
\ No newline at end of file</diff>
      <filename>app/views/todos/_toggle_notes.rhtml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>01c7fd129656b543c4b4115961bdcbe3f5ca2176</id>
    </parent>
  </parents>
  <author>
    <name>Eric Allen</name>
    <email>ericpallen@gmail.com</email>
  </author>
  <url>http://github.com/bsag/tracks/commit/05f21ebba25cc3232876add7dc4be33c62ce93f0</url>
  <id>05f21ebba25cc3232876add7dc4be33c62ce93f0</id>
  <committed-date>2008-10-03T07:19:41-07:00</committed-date>
  <authored-date>2008-10-03T07:19:41-07:00</authored-date>
  <message>Spec and fix bug #776 by using auto_link instead of my dumb regex</message>
  <tree>261ef44df241ffe2731d220b214f3cc1e6b2aba5</tree>
  <committer>
    <name>Eric Allen</name>
    <email>ericpallen@gmail.com</email>
  </committer>
</commit>
