[cpif] r195 - trunk/frontend-web
svn at argo.es
svn at argo.es
Fri Jun 29 01:20:26 CEST 2007
Author: alvaro
Date: Fri Jun 29 01:20:25 2007
New Revision: 195
Log:
Pequenios cambios
Modified:
trunk/frontend-web/parser_bbcode.py
Modified: trunk/frontend-web/parser_bbcode.py
==============================================================================
--- trunk/frontend-web/parser_bbcode.py (original)
+++ trunk/frontend-web/parser_bbcode.py Fri Jun 29 01:20:25 2007
@@ -20,7 +20,7 @@
allowed_tags = {
"b": ('<strong>', '</strong>', False),
"u": ('<span style="text-decoration:underline">', '</span>', False),
- "s": ('<strike>', '</s>', False),
+ "s": ('<strike>', '</strike>', False),
"size": ('<span style="font-size:%(arg)s">', '</span>', True),
"i": ('<em>', '</em>', False),
"url": ('<a href="%(arg)s">', '</a>', True),
@@ -211,7 +211,7 @@
self._parsed.append(self._close_tag_to_html(stack.pop(-1)))
elif stack:
return "Error, falta por cerrar el tag %s%s%s" % (self._open, stack[-1], self._close)
- return 0
+ return False
def parse(self):
"""Parses the string"""
More information about the cpif
mailing list