Create preset for wrapping tags with tables

This commit is contained in:
Kiryl
2022-06-24 17:12:00 +03:00
parent 9f067bb93d
commit d91f6aba4a
3 changed files with 3 additions and 6 deletions

View File

@@ -107,10 +107,7 @@ class LibreHTML2JSONConverter:
def convert_to_dict(self):
"""Function which convert list of html nodes to appropriate json structure."""
json_strc = []
ind = 0
ch_num = 0
ch_amt = 0
json_strc, ind, ch_num, ch_amt = [], 0, 0, 0
try:
while ind < len(self.content):