From a0e9a6d332d22fd460ecdf7f8f3789c21a256701 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 23 May 1997 18:13:58 +0000 Subject: Small nits for Grail; don't forget to cgi.translate & and <. --- Tools/faqwiz/faqmain.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Tools/faqwiz/faqmain.py b/Tools/faqwiz/faqmain.py index 2ce723d..5c7d8b2 100644 --- a/Tools/faqwiz/faqmain.py +++ b/Tools/faqwiz/faqmain.py @@ -90,7 +90,7 @@ class FAQServer:

Search the FAQ

-
+
(Case insensitive regular expressions.) @@ -612,6 +612,8 @@ class FAQServer: pre = 1 if '/' in line or '@' in line: line = self.translate(line) + elif '<' in line or '&' in line: + line = cgi.escape(line) if not pre and '*' in line: line = self.emphasize(line) print line @@ -680,7 +682,7 @@ class FAQServer:


Python home / - FAQ home / + FAQ home / Feedback to GvR ''' print ''' -- cgit v0.12