From cabb531e2300c5643447ccd1ffd311ee5690773a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 22 Jun 2009 10:39:05 -0400 Subject: Escape XML strings. Since John Doe is not valid XML. --- becommands/show.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'becommands/show.py') diff --git a/becommands/show.py b/becommands/show.py index 7c48257..0ef09f3 100644 --- a/becommands/show.py +++ b/becommands/show.py @@ -35,17 +35,14 @@ def execute(args, test=False): Created : Wed, 31 Dec 1969 19:00 (Thu, 01 Jan 1970 00:00:00 +0000) Bug A - >>> execute (["--xml", "a"], test=True) + >>> execute (["--xml", "a"], test=True) # doctest: +ELLIPSIS a a minor open - - - - John Doe - Wed, 31 Dec 1969 19:00 (Thu, 01 Jan 1970 00:00:00 +0000) + John Doe <jdoe@example.com> + ... Bug A """ -- cgit