about summary refs log tree commit diff stats
path: root/src/io/loader.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-07-10 18:51:20 +0200
committerbptato <nincsnevem662@gmail.com>2023-07-10 18:51:20 +0200
commit882ad61e765529fca79ebf79dcaa079e6bc970fb (patch)
treeb7e86ac1336be324286dcaafc4a19ffb605b0379 /src/io/loader.nim
parent8d247fd79424f1e4c5ac6b3fb6642363fd186252 (diff)
downloadchawan-882ad61e765529fca79ebf79dcaa079e6bc970fb.tar.gz
htmlparser: fix form association regression
associateWithForm was checking whether the element was in the same
tree as the form, however associateWithForm is called when element
is has not been inserted into the tree yet. As a fix, pass the
intended parent and perform the check on that.
Diffstat (limited to 'src/io/loader.nim')
0 files changed, 0 insertions, 0 deletions