It may sound trivial, but what is a proper way to put a line break inside a string in SIL script?
I'm trying to add a multiline description to issue, but I don't want to use "\\" sign. I want a proper line break, so that when user will edit the comment he will see:
this is line one this is line two
this is line one \\ this is line two
Well, that's what I've tried, but when user edits such comment he sees:
And I want him to see:
What is more annoying, double slash doesn't play well with other special markups. Fo example if I want to put a line between two lines I would define a script like this:
string my_comment = "String \\\\ ---- \\\\ String";
Yet, what I achieve is:
The same thing done by the following code:
string my_comment = "String\n----\nString";
So I guess "\n" > "\\\\"
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot