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.

  • @wthit56OP
    link
    English
    13 months ago

    After a while stepping through code, I’ve tracked it down to… __primitiveValueGetterKeepEscapesYolo. (buh buh buuuuuh~)

    While processing [code blocks], __primitiveValueGetterKeepEscapesYolo is true, it seems. And while processing scripts it is undefined. So… I guess it’s on purpose that it strips out escapes in one case and not the other? Why is that?

    But also… how can I get it to stop it??! 🤣

    • @wthit56OP
      link
      English
      13 months ago

      I’ve hacked it, just setting that to true during my plugin’s function, and setting it back to whatever it was after. Still not sure why this is there.

      And it actually affects getting values–not the generation of them. So I can’t just hack it for the createPerchanceTree call, but up to the point it’s completely processed and never going to be used again, basically.