The DashedSentence controller does accept the \n character as a linebreak, but when looking up the table Template reads that sequence as two characters (\+n) which in a javascript string you would write as \\n
The solution is to replace all occurrences of \\n with \ns: row.acceptability.replace(/\\n/g,"\n")
Sorry for asking again, but I’m very new to this system. Could you please explain where I should place the line that Jeremy suggested as solution: row.acceptability.replace(/\\n/g,”\n”)
Should I put this line in the “DashedSentence.js” module or in the “main.js”? I don’t know in which chuck part it should be included.
If you look at the code of https://farm.pcibex.net/r/bOIUXY/ in main.js, you’ll see this line: newController("DashedSentence", {s: row.acceptability}). This is where to substitue row.acceptability.replace(/\\n/g,"\n"): newController("DashedSentence", {s: row.acceptability.replace(/\\n/g,"\n")})