INNER CODE UNIT · Python
i
CodeSmile-0000011110110111/LunyScript-RFC · scripts/fix-tabs-final.py:26
i = end_index + 1
else:
result.append(line)
i += 1
return '\n'.join(result)
def extract_tab_group(lines, start):
"""Extract entire tab group from lines"""
end = start
depth = 0
group_lines = []
for j in range(start, len(lines)):
line = lines[j]
group_lines.append(line)
if '<div' in line: