This commit is contained in:
Kovid Goyal 2014-08-07 11:51:57 +05:30
parent 454f2e03a8
commit fd544e7058

View File

@ -443,8 +443,7 @@ class HTMLSmarts(NullSmarts):
return None, None
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():
# Multiline opening tag, it must be the first tag with on the line
# with the closing >
# Multiline opening tag, it must be the first tag on the line with the closing >
del tags[:-1]
return sourceline, tags