I have a couple of undocumented functions from the old author of the Notebook 2018 addon. They look like:
Code:
function NBUI.ProtectText(text)
return text:gsub([[\]], [[%%92]])
end
function NBUI.UnprotectText(text)
return text:gsub([[%%92]], [[\]])
end
They are called when changing element text, such as:
Code:
NBUI.NB1RightPage_Title:SetText(NBUI.UnprotectText(title))
Or the other, when saving into variable.
I couldn't load the game with it. Other users reported errors only. I removed them, assuming that by now the game handles string issues better than years ago. This is to help the devs figure out the issue further, to avoid future crashes.

Thanks!