mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
454f2e03a8
commit
fd544e7058
@ -443,8 +443,7 @@ class HTMLSmarts(NullSmarts):
|
|||||||
return None, None
|
return None, None
|
||||||
tags = [t.name for t in ud.tags if (t.is_start and not t.closing and t.offset <= start_offset)]
|
tags = [t.name for t in ud.tags if (t.is_start and not t.closing and t.offset <= start_offset)]
|
||||||
if start_block.blockNumber() != end_block.blockNumber():
|
if start_block.blockNumber() != end_block.blockNumber():
|
||||||
# Multiline opening tag, it must be the first tag with on the line
|
# Multiline opening tag, it must be the first tag on the line with the closing >
|
||||||
# with the closing >
|
|
||||||
del tags[:-1]
|
del tags[:-1]
|
||||||
return sourceline, tags
|
return sourceline, tags
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user