<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,7 +10,7 @@
 &lt;/ul&gt;
 
 &lt;h2&gt;Using Message:&lt;/h2&gt;
-&lt;pre&gt;&lt;%= htmlize(message) %&gt;&lt;/pre&gt;
+&lt;pre style=&quot;white-space: pre-wrap;&quot;&gt;&lt;%= htmlize_attr(message) %&gt;&lt;/pre&gt;
   
 &lt;% if result[:rev] %&gt;
   &lt;h2&gt;Diff of committed changes:&lt;/h2&gt;</diff>
      <filename>Support/app/views/commit/_commit_result.html.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e6bfd9c1146f6f3d85049628707527c621c5190b</id>
    </parent>
  </parents>
  <author>
    <name>Allan Odgaard</name>
    <email>git@abetarda.com</email>
  </author>
  <url>http://github.com/timcharper/git-tmbundle/commit/e31a5203ed5c68dc52ef37bb573411ee3767ffab</url>
  <id>e31a5203ed5c68dc52ef37bb573411ee3767ffab</id>
  <committed-date>2009-10-24T15:52:35-07:00</committed-date>
  <authored-date>2009-10-24T15:52:35-07:00</authored-date>
  <message>Word wrap user&#8217;s commit message in result window.

Also use htmlize_attr instead of htmlize. The latter is not for use with &lt;pre&gt; as it will convert whitespace sequences to use non-breaking spaces and newlines to &#8216;&lt;br&gt;\n&#8217; (which was resulting in doubling the line breaks).

Semantically htmlize_attr is for escaping attribute value content, but in practice it is simply entity-encoding the content.</message>
  <tree>dda22d540cf5b3a6de13c091a91ecf9c8ae53d81</tree>
  <committer>
    <name>Allan Odgaard</name>
    <email>git@abetarda.com</email>
  </committer>
</commit>
