From 85ba845f0699aa34899e871527ae461f591f77d9 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Thu, 11 Dec 2008 03:49:10 +0100 Subject: [PATCH] Escape raw text sent as body to the textarea element in the page editor --- geekigeeki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geekigeeki.py b/geekigeeki.py index 6c77adf..2e2ef72 100755 --- a/geekigeeki.py +++ b/geekigeeki.py @@ -714,7 +714,7 @@ class Page: print '
' % relative_url(self.page_name) print '' % (self.page_name) print '
' % (self.page_name) - print '' % (preview or self.get_raw_body()) + print '' % cgi.escape(preview or self.get_raw_body()) print ' ' % file print """
-- 2.25.1