https://perchance.org/8swe0svvsk#edit
The same exact call in a code block vs a script tag behaves differently. The values seem to arrive to the plugin okay, but then get funky at some point–no idea why.
https://perchance.org/8swe0svvsk#edit
The same exact call in a code block vs a script tag behaves differently. The values seem to arrive to the plugin okay, but then get funky at some point–no idea why.
On the same link, I’ve simplified it down and found the issue is something to do with
createPerchanceTree
. If called from a code block, it keeps the escapes. If called from JS it removes the escapes.And that’s even if the code block is just calling a JS function. And the JS strips escapes even if calling a function defined in perchance code.