4362: [XML] Cannot import url styled text on note
svn: r16600
This commit is contained in:
parent
444fa5dd2f
commit
82d4f8cb54
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user