forked from LiveCarta/BookConverter
Create preset for wrapping tags with tables
This commit is contained in:
@@ -107,10 +107,7 @@ class LibreHTML2JSONConverter:
|
|||||||
|
|
||||||
def convert_to_dict(self):
|
def convert_to_dict(self):
|
||||||
"""Function which convert list of html nodes to appropriate json structure."""
|
"""Function which convert list of html nodes to appropriate json structure."""
|
||||||
json_strc = []
|
json_strc, ind, ch_num, ch_amt = [], 0, 0, 0
|
||||||
ind = 0
|
|
||||||
ch_num = 0
|
|
||||||
ch_amt = 0
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
while ind < len(self.content):
|
while ind < len(self.content):
|
||||||
|
|||||||
Reference in New Issue
Block a user