mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-27 20:06:26 +01:00
cleanup.
This commit is contained in:
parent
95de323d1e
commit
f95eead55c
1 changed files with 1 additions and 5 deletions
|
|
@ -1203,11 +1203,7 @@ def update_css(ncss):
|
|||
target = self.book.create_text_block(textStyle=self.current_block.textStyle,
|
||||
blockStyle=self.current_block.blockStyle)
|
||||
self.targets[tag['id']] = target
|
||||
self.current_para.append_to(self.current_block)
|
||||
self.current_para = Paragraph()
|
||||
self.current_block.append_to(self.current_page)
|
||||
self.current_block = self.book.create_text_block(textStyle=self.current_block.textStyle,
|
||||
blockStyle=self.current_block.blockStyle)
|
||||
self.end_current_block()
|
||||
self.current_page.append(target)
|
||||
src = self.get_text(tag, limit=1000)
|
||||
if not self.disable_chapter_detection and tagname.startswith('h'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue