<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,7 +11,7 @@ module ApplicationHelper
     bbquote(text)
     
     # non-attributed quote
-    text.gsub!(/\[quote\](.*?)\[\/quote\]/mis) { &quot;&lt;div class='center'&gt;&lt;div class='quote'&gt;&quot; &lt;&lt; $1 &lt;&lt; &quot;&lt;/div&gt;&lt;/div&gt;&quot; }
+    text.gsub!(/\[quote\](.*?)\[\/quote\]/mis) { &quot;&lt;div class='quote'&gt;&quot; &lt;&lt; $1 &lt;&lt; &quot;&lt;/div&gt;&quot; }
     
     # Terminal example
     text.gsub!(/\[term\](.*?)\[\/term\]/mi) { &quot;&lt;span class='term'&gt;&quot; &lt;&lt; $1.gsub(/^\r\n/,&quot;&quot;).gsub(&quot;&lt;&quot;,&quot;&amp;lt;&quot;).gsub(&quot;&gt;&quot;,&quot;&amp;gt;&quot;) &lt;&lt; &quot;&lt;/span&gt;&quot; }
@@ -33,7 +33,7 @@ module ApplicationHelper
   
   def bbquote(text)
     text.gsub!(/\[quote=[&quot;']?(.*?)[&quot;']?\](.*)\[\/quote\]/mis) do
-      &quot;&lt;div class='center'&gt;&lt;div class='quote'&gt;#{$1.empty? ? &quot;&quot; : &quot;&lt;b&gt;#{$1} #{t(:wrote)}&lt;/b&gt;&quot;}&lt;br /&gt;#{bbquote($2)}&lt;/div&gt;&lt;/div&gt;&quot;
+      &quot;&lt;div class='quote'&gt;#{$1.empty? ? &quot;&quot; : &quot;&lt;b&gt;#{$1} #{t(:wrote)}&lt;/b&gt;&quot;}&lt;br /&gt;#{bbquote($2)}&lt;/div&gt;&quot;
     end
     text
   end</diff>
      <filename>app/helpers/application_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -165,6 +165,7 @@ img {
 .quote {
   background: #A4D5FF none repeat scroll 0;
   border: 1px solid #84AFD3;
+  margin: 0 auto;
   padding: 5px;
   text-align: left;
   width: 90%;</diff>
      <filename>public/themes/blue/style.css</filename>
    </modified>
    <modified>
      <diff>@@ -161,6 +161,7 @@ img {
 .quote {
   background: #A4D5FF none repeat scroll 0;
   border: 1px solid #84AFD3;
+  margin: 0 auto;
   padding: 5px;
   text-align: left;
   width: 90%;</diff>
      <filename>public/themes/dark/style.css</filename>
    </modified>
    <modified>
      <diff>@@ -18,7 +18,7 @@ describe ApplicationHelper, &quot;general&quot; do
     breadcrumb(@sub_of_everybody).should eql(&quot;&lt;a href=\&quot;/categories/#{@everybody.category.id}/forums\&quot;&gt;test&lt;/a&gt; -&gt; &lt;a href=\&quot;/forums/#{@everybody.id}\&quot;&gt;General Discussion!&lt;/a&gt; -&gt; &lt;a href=\&quot;/forums/#{@sub_of_everybody.id}\&quot;&gt;Unmoderated Discussion&lt;/a&gt;&quot;)
   end
   
-  it &quot;should correctly encapsulate double quotes&quot; do
-    TestView.new.parse_text('[quote=&quot;Kitten&quot;][quote=&quot;Dog&quot;]QUOTE INSIDE[/quote]QUOTE OUTSIDE[/quote]').should eql(&quot;&lt;div class='center'&gt;&lt;div class='quote'&gt;&lt;b&gt;Kitten wrote:&lt;/b&gt;&lt;div class='center'&gt;&lt;div class='quote'&gt;&lt;b&gt;Dog wrote:&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;QUOTE OUTSIDE&lt;/div&gt;&lt;/div&gt;&quot;)
+  it &quot;should correctly display multiple nested quotes&quot; do
+    TestView.new.parse_text('[quote=&quot;Kitten&quot;][quote=&quot;Dog&quot;][quote=&quot;Turtle&quot;]turtle, turtle[/quote]QUOTE INSIDE[/quote]QUOTE OUTSIDE[/quote]').should eql(&quot;&lt;div class='quote'&gt;&lt;b&gt;Kitten wrote:&lt;/b&gt;&lt;br /&gt;&lt;div class='quote'&gt;&lt;b&gt;Dog wrote:&lt;/b&gt;&lt;br /&gt;&lt;div class='quote'&gt;&lt;b&gt;Turtle wrote:&lt;/b&gt;&lt;br /&gt;turtle, turtle&lt;/div&gt;QUOTE INSIDE&lt;/div&gt;QUOTE OUTSIDE&lt;/div&gt;&quot;)
   end
 end  </diff>
      <filename>spec/helpers/application_helper_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>public/themes/blue/Thumbs.db</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>a00460f4e63499ac5d1eeb7a5a32a7b76a3483f6</id>
    </parent>
  </parents>
  <author>
    <name>CvX</name>
    <email>cvx@cvx-VMdesktop-ubuntu.(none)</email>
  </author>
  <url>http://github.com/radar/rboard/commit/8be57ef4edece8456d487a7b9cd6046dd9d8f900</url>
  <id>8be57ef4edece8456d487a7b9cd6046dd9d8f900</id>
  <committed-date>2009-11-04T04:43:25-08:00</committed-date>
  <authored-date>2009-11-04T04:43:25-08:00</authored-date>
  <message>Minor changes to BBcode quotes, updated rspec test</message>
  <tree>1010b319a6680d87c33a43459cc4caa6dfc5e1c3</tree>
  <committer>
    <name>CvX</name>
    <email>cvx@cvx-VMdesktop-ubuntu.(none)</email>
  </committer>
</commit>
