fixed element properties for highlighted text
This commit is contained in:
parent
708581fa6e
commit
9af9d9e69b
@ -60,7 +60,7 @@ class RichText(object):
|
||||
if highlight:
|
||||
if highlight[0] == '#':
|
||||
highlight = highlight[1:]
|
||||
prop += u'<w:highlight w:val="%s"/>' % highlight
|
||||
prop += u'<w:shd w:fill="%s"/>' % highlight
|
||||
if size:
|
||||
prop += u'<w:sz w:val="%s"/>' % size
|
||||
prop += u'<w:szCs w:val="%s"/>' % size
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user