From: Leandro Lucarella Date: Wed, 6 Aug 2008 20:28:35 +0000 (-0300) Subject: Strip article's haders values X-Git-Url: https://git.llucax.com/software/blitiri.git/commitdiff_plain/f6698d8747bf7f697b54834e5a9272f497354f20?hp=654ea14e9278434472497f00f8fa04600fe0e7b9 Strip article's haders values --- 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]