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" > "\\\\"
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events