Commits

David Cramer committed ec9167b

Quotes have a 1:1 tag: blockquote

Comments (0)

Files changed (1)

bbcode/bbtags/text_formatting.py

     def parse(self):
         gd = self.match.groupdict()
         if gd['cite']:
-            return '<div class="quote"><cite>%s</cite>%s</div>' % (gd['cite'], self.parse_inner())
-        return '<div class="quote">%s</div>' % self.parse_inner()
+            return '<blockquote><cite>%s</cite>%s</blockquote>' % (gd['cite'], self.parse_inner())
+        return '<blockquote>%s</blockquote>' % self.parse_inner()
 
 
 class Text(ArgumentTagNode):