Notice how I placed the <br> tags are within each of the nested <<if>> macros, leading the content.

PS: The following is v1 code:

<<script>>state.display(state.active.title)<</script>>

While it works because of compatibility shims, you really should not be using it in v2. The correct way to do that in v2 would be one of the following:

<<script>>Engine.play(State.passage)<</script>>

That said, you don't need to do that either. In the examples you've shown, you don't need it as the <<link>> macro takes a second argument which is the passage to forward the player to when activated. Thus the following two links: