mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 20:14:33 +02:00
...
This commit is contained in:
parent
dcc9c29431
commit
10d96d43ea
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ def insert_link(self, *args):
|
|||
if is_image:
|
||||
self.exec_command('insertHTML',
|
||||
'<img src="%s" alt="%s"></img>'%(prepare_string_for_xml(url, True),
|
||||
prepare_string_for_xml(name or '', True)))
|
||||
prepare_string_for_xml(name or _('Image'), True)))
|
||||
elif name:
|
||||
self.exec_command('insertHTML',
|
||||
'<a href="%s">%s</a>'%(prepare_string_for_xml(url, True),
|
||||
|
|
|
|||
Loading…
Reference in a new issue