After editing an announcement/ general information or a lecturer, the new lines will be filtered from the content. Then, the next time when you try to edit it, all the text will be on a single line which is not very user-friendly. The newlines have to be filtered somehow because Google does not allow both new lines and HTML tags in AJAX requests. Somehow, we still have to send newlines through the AJAX requests and parse them upon opening the model.
After editing an announcement/ general information or a lecturer, the new lines will be filtered from the content. Then, the next time when you try to edit it, all the text will be on a single line which is not very user-friendly. The newlines have to be filtered somehow because Google does not allow both new lines and HTML tags in AJAX requests. Somehow, we still have to send newlines through the AJAX requests and parse them upon opening the model.