* src/WriteXML.py: encode paths for objects in XML to handle
&, > and < in paths. svn: r5963
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2006-02-19 Soren Roug <roug@users.sourceforge.net>
|
||||
* src/WriteXML.py: encode paths for objects in XML to handle
|
||||
&, > and < in paths.
|
||||
|
||||
2006-02-19 Don Allingham <don@gramps-project.org>
|
||||
* src/ImageSelect.py: fix already_loaded initalization
|
||||
|
||||
|
@@ -849,7 +849,7 @@ class XmlWriter:
|
||||
def write_object(self,obj):
|
||||
handle = obj.get_gramps_id()
|
||||
mime_type = obj.get_mime_type()
|
||||
path = obj.get_path()
|
||||
path = self.fix(obj.get_path())
|
||||
if self.strip_photos:
|
||||
path = os.path.basename(path)
|
||||
self.g.write(' <object id="%s" handle="%s" change="%d" src="%s" mime="%s"' %
|
||||
|
Reference in New Issue
Block a user