Preserve whitespace in raw html

class Foo():
    bar = 'bar'

    def baz(self):
        print self.bar