Changeset 1276 for trunk/pylucid/PyLucid/tools/content_processors.py
- Timestamp:
- 10/16/07 12:36:51 (3 years ago)
- Files:
-
- 1 modified
-
trunk/pylucid/PyLucid/tools/content_processors.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/PyLucid/tools/content_processors.py
r1259 r1276 158 158 """ 159 159 return sax_escape(txt, entities=ENTITIES) 160 161 def escape_django_tags(txt): 162 """ 163 Escape only "{" and "}". 164 """ 165 for source, dest in ENTITIES.iteritems(): 166 txt = txt.replace(source, dest) 167 return txt