You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mae: Ok kids we're gonna go with...
[[Actually, I'm not sure yet...|NotSure]]
<<if $robot_head_0_done is 1>>
[[Frog Head|PickRobotMascot0]]
<<endif>>
<<if $robot_head_1_done is 1>>
[[Pig Head|PickRobotMascot1]]
<<endif>>
<<if $robot_head_2_done is 1>>
[[Rabbit Head|PickRobotMascot2]]
<<endif>>
Running this through bondage (by importing and exporting through the online editor), I notice that after the TextResult with Mae: Ok kids we're gonna go with..., I get one with just before I get to the options (or option, unless I'm using alforno's fork, but that's beside the point)
edit: It turns out that just text inside a conditional remains indented, such that
<<if 1 is 1>>
hello
<<endif>>
yields hello. (just regular spaces; I can't figure out how to make them appear here lol)
The text was updated successfully, but these errors were encountered:
mnbroatch
changed the title
Indentation inside <<if>> blocks creates extra text node
Indentation inside <<if>> conditional options creates extra text node
Jun 25, 2021
This is the example for conditional options per https://yarnspinner.dev/docs/writing/controlling/#options :
Running this through bondage (by importing and exporting through the online editor), I notice that after the TextResult with
before I get to the options (or option, unless I'm using alforno's fork, but that's beside the point)
Mae: Ok kids we're gonna go with...
, I get one with justedit: It turns out that just text inside a conditional remains indented, such that
yields
hello
. (just regular spaces; I can't figure out how to make them appear here lol)The text was updated successfully, but these errors were encountered: