diff --git a/ChangeLog b/ChangeLog index d42952cf0..ef5bac264 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * src/gramps_main.py: use pngs for windows 2006-10-10 Alex Roitman + * src/GrampsDb/_WriteXML.py (strip_dict): Do not strip tab, LF, CR. * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10, gramps_upgrade_11): Properly use TXN. diff --git a/src/GrampsDb/_WriteXML.py b/src/GrampsDb/_WriteXML.py index 725b73331..ce886593a 100644 --- a/src/GrampsDb/_WriteXML.py +++ b/src/GrampsDb/_WriteXML.py @@ -73,7 +73,7 @@ except: _xml_version = "1.1.3" # table for skipping control chars from XML -strip_dict = dict.fromkeys(range(20)) +strip_dict = dict.fromkeys(range(9)+range(12,20)) #------------------------------------------------------------------------- #