<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -75,7 +75,9 @@ module GitWiki
     end
 
     def to_html
-      RDiscount.new(wiki_link(content)).to_html
+      html = RDiscount.new(wiki_link(content)).to_html
+      html = &quot;&lt;h1&gt;#{name}&lt;/h1&gt;&quot; + html unless html =~ /&lt;h1&gt;/
+      html
     end
 
     def to_s
@@ -204,7 +206,6 @@ __END__
 - title @page.name
 #edit
   %a{:href =&gt; &quot;/#{@page}/edit&quot;} Edit this page
-%h1= title
 #content
   ~&quot;#{@page.to_html}&quot;
 </diff>
      <filename>git-wiki.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ba9893ce1ffdf58ceb63eb7cc0154219a9daa0f9</id>
    </parent>
  </parents>
  <author>
    <name>Vladimir Dobriakov</name>
    <email>vladimir@geekq.net</email>
  </author>
  <url>http://github.com/geekq/git-wiki/commit/6e576388e8fd7c7b6904a5e74b4b22a4ba0a497b</url>
  <id>6e576388e8fd7c7b6904a5e74b4b22a4ba0a497b</id>
  <committed-date>2009-10-25T09:35:15-07:00</committed-date>
  <authored-date>2009-10-25T09:35:15-07:00</authored-date>
  <message>Make custom h1 possible</message>
  <tree>82d4f59a94a3cc2fa6a3142ad8e169312449b179</tree>
  <committer>
    <name>Vladimir Dobriakov</name>
    <email>vladimir@geekq.net</email>
  </committer>
</commit>
