[cpif] r205 - in trunk/frontend-web: . skins/default
svn at argo.es
svn at argo.es
Sat Jun 30 18:20:04 CEST 2007
Author: alvaro
Date: Sat Jun 30 18:20:02 2007
New Revision: 205
Log:
Fixes
Modified:
trunk/frontend-web/parser_html.py
trunk/frontend-web/skins/default/body_metatags_metatag.html
trunk/frontend-web/skins/default/body_metatags_metatag_unread.html
Modified: trunk/frontend-web/parser_html.py
==============================================================================
--- trunk/frontend-web/parser_html.py (original)
+++ trunk/frontend-web/parser_html.py Sat Jun 30 18:20:02 2007
@@ -13,15 +13,16 @@
def escape(text):
entities = {
- '<':'<',
- '>':'>',
+# '<':'<',
+# '>':'>',
'"': '"',
- "'": "'",
- "&": "&"
+ "'": "'"
+# "&": "&"
}
- import re
- pat = "(%s)" % "|".join( map(re.escape, entities.keys()) )
- return re.sub( pat, lambda m:entities[m.group()], text )
+# Si hay que hacer otras sustituciones este codigo puede ser util
+# import re
+# pat = "(%s)" % "|".join( map(re.escape, entities.keys()) )
+# return re.sub( pat, lambda m:entities[m.group()], text )
import xml.sax.saxutils
return xml.sax.saxutils.escape(text, entities)
Modified: trunk/frontend-web/skins/default/body_metatags_metatag.html
==============================================================================
--- trunk/frontend-web/skins/default/body_metatags_metatag.html (original)
+++ trunk/frontend-web/skins/default/body_metatags_metatag.html Sat Jun 30 18:20:02 2007
@@ -1,3 +1,3 @@
-<div class="alt %(format)s" onkeypress="window.location='%(link)s';" onclick="window.location='%(link)s';" >
+<div class="alt %(format)s">
<a href="%(link)s">%(title)s</a>
</div>
Modified: trunk/frontend-web/skins/default/body_metatags_metatag_unread.html
==============================================================================
--- trunk/frontend-web/skins/default/body_metatags_metatag_unread.html (original)
+++ trunk/frontend-web/skins/default/body_metatags_metatag_unread.html Sat Jun 30 18:20:02 2007
@@ -1,3 +1,3 @@
-<div class="alt %(format)s" onkeypress="window.location='%(link)s';" onclick="window.location='%(link)s';" >
+<div class="alt %(format)s">
<a href="%(link)s">%(title)s</a> - NO LEÍDO
</div>
More information about the cpif
mailing list