I'm creating documents in LuaTeX from Lua sources containing long multiline strings (
[=[ string ]=]). When I print the strings using
tex.print, LuaTeX "eats up" line breaks. For instance, I have the string
A = [=[ Here we go. Text. More text. And more text to go. ]=]
Here we go. Text. More text. And more text to go.
This doesn't happen in Lua, but it does in LuaTeX. Is there a way to fix that? Consider a large amount of multiline strings, so editing strings manually is not a possibility for me.