<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,11 +8,12 @@ end
 
 class String
   def wiki_linked
-    self.gsub!(/\b((?:[A-Z]\w+){2,})/) { |m| &quot;&lt;a href=\&quot;/#{m}\&quot;&gt;#{m}&lt;/a&gt;&quot; }
-    self.gsub!(/\[(\w+){2,}\]/) { |m| 
+    self.gsub!(/(?!&lt;nowiki&gt;)(?&gt;\b((?:[A-Z]\w+){2,}))(?!&lt;\/nowiki&gt;)/) { |m| &quot;&lt;a href=\&quot;/#{m}\&quot;&gt;#{m}&lt;/a&gt;&quot; }
+    self.gsub!(/\[(\w+){2,}\]/) { |m|
       m.gsub!(/(\[|\])/, '')
-      &quot;&lt;a href=\&quot;/#{m}\&quot;&gt;#{m}&lt;/a&gt;&quot; 
+      &quot;&lt;a href=\&quot;/#{m}\&quot;&gt;#{m}&lt;/a&gt;&quot;
     }
+    self.gsub!(/&lt;\/?nowiki&gt;/,'')
     self
   end
 end</diff>
      <filename>extensions.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,7 +13,7 @@ class Page
   end
 
   def body
-    @body ||= RubyPants.new(RedCloth.new(raw_body).to_html).to_html.wiki_linked
+    @body ||= RubyPants.new(RedCloth.new(raw_body.wiki_linked).to_html).to_html
   end
   
   def branch_name</diff>
      <filename>page.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d2812a75c624974de773205dc960b0f45d86bcaf</id>
    </parent>
  </parents>
  <author>
    <name>Jesse Newland</name>
    <email>jnewland@gmail.com</email>
  </author>
  <url>http://github.com/schacon/git-wiki/commit/98d94cda6e9a5d0a46605ecf25e272273244e6db</url>
  <id>98d94cda6e9a5d0a46605ecf25e272273244e6db</id>
  <committed-date>2009-10-27T18:13:39-07:00</committed-date>
  <authored-date>2008-05-16T08:09:15-07:00</authored-date>
  <message>&lt;nowiki/&gt; support</message>
  <tree>c499c450dd090a88d187d0abb221da21485a0297</tree>
  <committer>
    <name>Scott Chacon</name>
    <email>schacon@gmail.com</email>
  </committer>
</commit>
