From 82d4f8cb541e988405085cd07d33613d98c77545 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 11 Feb 2011 13:35:21 +0000 Subject: [PATCH] 4362: [XML] Cannot import url styled text on note svn: r16600 --- src/plugins/import/ImportXml.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/import/ImportXml.py b/src/plugins/import/ImportXml.py index e12f6b5bb..c0cc8c7df 100644 --- a/src/plugins/import/ImportXml.py +++ b/src/plugins/import/ImportXml.py @@ -1374,8 +1374,7 @@ class GrampsParser(UpdateCallback): Styled text tag in notes (v1.4.0 onwards). """ tagtype = gen.lib.StyledTextTagType() - tagtype.set_from_xml_str(attrs['name']) - + tagtype.set_from_xml_str(attrs['name'].lower()) try: val = attrs['value'] tagvalue = gen.lib.StyledTextTagType.STYLE_TYPE[int(tagtype)](val)