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)