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

Blogging system doesn't save newlines #9

Open
casheridan opened this issue Mar 6, 2021 · 0 comments
Open

Blogging system doesn't save newlines #9

casheridan opened this issue Mar 6, 2021 · 0 comments

Comments

@casheridan
Copy link
Owner

The blogging system has one bug that I couldn't solve before leaving SWAT for the season, I found this right as the season ended in 2020 due to covid

You can't save newlines when making or updating blogs
This was an oversight on my part, as you see on the second blog post on the blog page you can see that there is newlines in the post. These aren't hard coded but when creating a blog you have to use some RegExp characters to make a newline, which in regex is '\n'.

There needs to be a way around how this is stored and may need a big workaround. One way that I was thinking about is that there has to be someway to take those invisible newlines in the textbox and add them into the database and receive them so we can update them after making the textbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant