The jPath in updateTag() callback for self-closing tags contained a trailing slash (like: root.a/) which was not intended and could lead to errors if you implemented logic based on the jPath and did not take that into account.
I've added removing trailing slash from jPath in the same place where it's removed from tagName.
coverage: 98.24% (+0.004%) from 98.236% when pulling ec4862cebb9ec4abd055bf32a270e9d3ab9a1142 on m-radzikowski:issue-564 into 643816d67b4c8b85ff97ba83e9bf41d23446c963 on NaturalIntelligence:master.
Purpose / Goal
Fixes #564
The
jPath
inupdateTag()
callback for self-closing tags contained a trailing slash (like:root.a/
) which was not intended and could lead to errors if you implemented logic based on thejPath
and did not take that into account.I've added removing trailing slash from
jPath
in the same place where it's removed fromtagName
.Type
Please mention the type of PR