You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During my internal testing, it seems to fail when "html":"[]" contains more than 2 elements... 🤔
Received:
{"<>":"div","class":"${class}", "id":"${id}","html":[{"<>":"img", "src":"${src}","alt":"${alt}"},{"<>":"p","text":"Hi ${name}! Welcome to json2html!"},{"<>":"p","text":"Awesome it works!"}]}
Traceback (most recent call last):
File "json2html.test.py", line 347, in<module>main()
File "json2html.test.py", line 344, in main
json2html.transform(payload, data)
File "json2html.test.py", line 289, in transform
cls._merge(debug)
File "json2html.test.py", line 148, in _merge
if (cls.props[j]['iteration'] == cls.props[i]['iteration']):
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
During my internal testing, it seems to fail when
"html":"[]"
contains more than 2 elements... 🤔The text was updated successfully, but these errors were encountered: