From: Aaron Bentley Date: Mon, 6 Feb 2006 20:28:20 +0000 (-0500) Subject: Fixed initial space bug X-Git-Tag: 1.0.0~217 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c6c7cb44315bb810087f99c1f306ee4f686b4a48;p=be.git Fixed initial space bug --- diff --git a/beweb/beweb/templates/edit_bug.kid b/beweb/beweb/templates/edit_bug.kid index 206f4ba..774334e 100644 --- a/beweb/beweb/templates/edit_bug.kid +++ b/beweb/beweb/templates/edit_bug.kid @@ -42,6 +42,7 @@ def to_unix(text): yield '\n' def soft_text(text): + first_space = False translations = {'\n': '
\n', '&': '&', '\x3c': '<', '\x3e': '>'} for ch in to_unix(text):