I have the following scenario:
(set: $FLIRT to "catch someone's eye")
<tw-link class='cyclingLink' data-cycling-texts='["catch someone's eye", "find a lucky catch"]' onclick='clickCyclingLink(this, "$FLIRT");'>$FLIRT</tw-link>
In next passage:
(if: $FLIRT is "catch someone's eye")[he approaches you]
(else:)[you approach him]
(I know about backslashes helping with apostrophes, but I get error messages when I try "someone\'s")
Thing is, when I click through the options in the first passage and return to "catch someone's eye," the next passage continues to display the else statement.
Comments
I am not totally sure what is causing the second issue (error when escaping the single quote) but I would guess it is either:
1. The result of the regular expressions used by Harlowe to parse the passage contents having problems with the stacking of the single/double/escaped quotes.
2. Furkle's Cycling Link code having a similar problem.
3. A little of both 1 and 2.
eg.
Looks like this was the issue. I changed the apos as you suggested, and everything is working perfectly. Thanks!