From f6698d8747bf7f697b54834e5a9272f497354f20 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 6 Aug 2008 17:28:35 -0300 Subject: [PATCH] Strip article's haders values --- blitiri.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blitiri.cgi b/blitiri.cgi index 26b95d4..75e1a0c 100755 --- a/blitiri.cgi +++ b/blitiri.cgi @@ -339,9 +339,9 @@ class Article (object): if ':' in l: name, value = l.split(':', 1) if name.lower() == 'title': - self._title = value + self._title = value.strip() elif name.lower() == 'author': - self._author = value + self._author = value.strip() elif name.lower() == 'tags': ts = value.split(',') ts = [t.strip() for t in ts] -- 2.43.0