From c6c7cb44315bb810087f99c1f306ee4f686b4a48 Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Mon, 6 Feb 2006 15:28:20 -0500 Subject: [PATCH] Fixed initial space bug --- beweb/beweb/templates/edit_bug.kid | 1 + 1 file changed, 1 insertion(+) 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): -- 2.26.2