Save your input using Spencode.htmlencodePreserverspace
There is a multi-line text input on the created WebPart. However, after saving to the list, there is no return in the place where multi-line carriage return is changed.
It is estimated that when saving, the return line is not saved due to the coding.
I want to use str.repalce to replace "/ r / n" "
", The result, does not work."
Suddenly I remembered Spencode.htmlencode and Spencode.htmlencode and Spencode.htmlencodePreserverspace, I have been doing not understanding, tried it, and checked.