This seems like a bug in Twine 2.0 web version, but I figured I'd ask here first to be sure.
I'm using this page
to create a link with a setter in Sugarcube, and the Twine UI isn't parsing it as I'd expect. Here's an example of my code:
[[Cosmo][$magRead = "Cosmo"]]
[[Men's Health][$magRead = "Men's Health"]]
[[Highlights][$magRead = "Highlights"]]
Actually, you [[don't want to read|Intro]].
The code works fine. I can click "Cosmo", for example, and I'm taken to the passage "Cosmo" and my $magRead variable is set to "Cosmo". However the Twine UI seems to think I'm trying to create a passage called:
Cosmo][$magRead = "Cosmo"
This is annoying because it auto-creates that passage every time I make a change to the link, which could potentially be often. Am I doing something wrong or is this a bug in Twine?