Hi Jessica,
Unfortunately there is no easy way to insert a linebreak in the s parameter of AcceptabilityJudgment, the reason being that it ignores any <tag> it contains, making it impossible to use HTML tags like <p> or <br>, which would normally render linebreaks. The q parameter evaluates them though, so if you're fine with presenting the sentence using the q parameter instead of s (and maybe then show your actual---one-line---question using the s parameter) then this is one solution:
[["practice", 100], "AcceptabilityJudgment", {q: "A: Hi Joan, how are you?<br>B: Hey John, I'm great!", s: "Do you find this dialogue natural?"}],
If you'd rather stick to using the
s parameter and don't want to mess with editing the controllers, here is a not-very-clean workaround, injecting some javascript in the
q paramater which will fill the
s parameter on runtime (mind the \\ before the apostrophe in the sentence):
[["practice", 100], "AcceptabilityJudgment", {s: "", q: "<script>$('.FlashSentence-FlashSentence').html('A: Hi Joan, how are you?<br>B: Hey John, I\\'m great!');</script>"}],
Let me know if you have questions