Hi Danielo Hello Jeremy. Why is substituteVariableReferences not encoding line breaks? >
Why would it? substituteVariableReferences for processing the values of macros before they are processed. We need to be able to create macros that include line breaks. The need to encode line breaks is a JSON thing. The code you're using is broken I'm afraid. Best wishes Jeremy -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

