When pasting text into the cell of a loop table, the resulting script is invalid, because it includes the newline as a literal. This should be fixed at two levels. First, the loop should remove newlines from context, and also strip trailing and preceding white space. Second, syntax.create_cmd() should also remove newlines from content, and throw a warning when there are newlines, in order to prevent the script from becoming corrupted.
When pasting text into the cell of a
loop
table, the resulting script is invalid, because it includes the newline as a literal. This should be fixed at two levels. First, theloop
should remove newlines from context, and also strip trailing and preceding white space. Second,syntax.create_cmd()
should also remove newlines from content, and throw a warning when there are newlines, in order to prevent the script from becoming corrupted.