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

[Bug] 书籍简介换行问题 #25

Closed
umonaca opened this issue May 8, 2020 · 4 comments
Closed

[Bug] 书籍简介换行问题 #25

umonaca opened this issue May 8, 2020 · 4 comments

Comments

@umonaca
Copy link
Contributor

umonaca commented May 8, 2020

可能是被什么strip掉了

@doubaniux
Copy link
Owner

on which page?

@umonaca
Copy link
Contributor Author

umonaca commented May 8, 2020

All of them. Example: https://nicedb.org/books/92/

@umonaca
Copy link
Contributor Author

umonaca commented May 11, 2020

No this commit did not fix the bug.
When you add a book with line breakers in description, the line breakers are stripped out after submission.

@doubaniux doubaniux reopened this May 12, 2020
@doubaniux
Copy link
Owner

@umonaca No nothing is stripped, everything is stored just as it should be, the problem is how to render. Continuous white spaces will collapse and this is how html works. But if visible indent of lines is what you want, it can be implemented in the future.

@umonaca umonaca closed this as completed May 15, 2020
doubaniux added a commit that referenced this issue Sep 1, 2021
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

2 participants