Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New lines are filtered away from textarea #131

Open
Daanra opened this issue Oct 8, 2017 · 0 comments
Open

New lines are filtered away from textarea #131

Daanra opened this issue Oct 8, 2017 · 0 comments
Assignees

Comments

@Daanra
Copy link
Collaborator

Daanra commented Oct 8, 2017

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.

@Daanra Daanra self-assigned this Oct 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant