1.1 --- a/markup.py Tue Sep 29 19:03:24 2015 +0200
1.2 +++ b/markup.py Tue Sep 29 19:28:40 2015 +0200
1.3 @@ -236,15 +236,15 @@
1.4
1.5 def addfooter( self, text ):
1.6 """Add some text to the bottom of the document"""
1.7 - self.footer.append( text )
1.8 + self.footer.append( escape( text ) )
1.9
1.10 def addheader( self, text ):
1.11 """Add some text to the top of the document"""
1.12 - self.header.append( text )
1.13 + self.header.append( escape( text ) )
1.14
1.15 def addcontent( self, text ):
1.16 """Add some text to the main part of the document"""
1.17 - self.content.append( text )
1.18 + self.content.append( escape( text ) )
1.19
1.20
1.21 def init( self, lang='en', css=None, metainfo=None, title=None, header=None,