<p>Preserve whitespace in raw html</p> <pre> class Foo(): bar = 'bar' def baz(self): print self.bar </pre>