mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 04:52:48 +02:00
...
This commit is contained in:
parent
7d4695f37e
commit
05ae6894a5
1 changed files with 1 additions and 1 deletions
|
|
@ -844,7 +844,7 @@ def insert_image(self, href, fullpage=False, preserve_aspect_ratio=False, width=
|
|||
height = 1600
|
||||
c = self.textCursor()
|
||||
template, alt = 'url(%s)', ''
|
||||
left = min(c.position(), c.anchor)
|
||||
left = min(c.position(), c.anchor())
|
||||
if self.syntax == 'html':
|
||||
left, right = self.get_range_inside_tag()
|
||||
c.setPosition(left)
|
||||
|
|
|
|||
Loading…
Reference in a new issue