Changeset 4337:ef0aed28ba4c in livinglogic.python.xist

Show
Ignore:
Timestamp:
02/14/11 16:47:02 (8 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Escape form feed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/misc.py

    r4333 r4337  
    516516    elif isinstance(obj, basestring): 
    517517        v = [] 
    518         specialchars = {u"\r": u"\\r", u"\n": u"\\n", u"\t": u"\\t", u'"': u'\\"', u"\\": u"\\\\"} 
     518        specialchars = {u"\r": u"\\r", u"\n": u"\\n", u"\t": u"\\t", u"\f": u"\\f", u'"': u'\\"', u"\\": u"\\\\"} 
    519519        for c in obj: 
    520520            try: