Commits

David Cramer committed 3812735

Strip extra trailing/leading whitespace from code

Comments (0)

Files changed (1)

bbcode/bbtags/text_formatting.py

         inner = ''
         for node in self.nodes:
             inner += node.raw_content
+        inner = inner.strip()
         if highlight is None:
             return '<pre>%s</pre>' % inner
         if self.arguments['lang']: