File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -452,8 +452,9 @@ attached.
452
452
def serialize (self , field , cstruct , readonly = False ):
453
453
if cstruct is null:
454
454
cstruct = u ' '
455
+ quoted = cgi.escape(cstruct, quote = ' "' )
455
456
return (' <input type="text" name="%s " value="%s ">' %
456
- (field.name, cgi.escape(cstruct, quote = ' " ' ) ))
457
+ (field.name, quoted ))
457
458
458
459
def deserialize (self , field , pstruct ):
459
460
if pstruct is null:
@@ -496,8 +497,9 @@ class:
496
497
def serialize (self , field , cstruct , readonly = False ):
497
498
if cstruct is null:
498
499
cstruct = u ' '
500
+ quoted = cgi.escape(cstruct, quote = ' "' )
499
501
return (' <input type="text" name="%s " value="%s ">' %
500
- (field.name, cgi.escape(cstruct, quote = ' " ' ) ))
502
+ (field.name, quoted ))
501
503
502
504
def deserialize (self , field , pstruct ):
503
505
if pstruct is null:
You can’t perform that action at this time.
0 commit comments