Skip to content

Support new lines for book/chapter descriptions + fix tests - #438

Merged
ssddanbrown merged 13 commits into
BookStackApp:masterfrom
Cyber-Duck:master
Jul 27, 2017
Merged

ssddanbrown merged 13 commits into
BookStackApp:masterfrom
Cyber-Duck:master

Conversation

@clemblanco

@clemblanco clemblanco commented Jul 14, 2017

Copy link
Copy Markdown

Avoid ignoring new lines when renderring the book/chapter descriptions on their respective detailed views.

And fixing the tests too (LDAP needs to be installed before running the LDAP tests).

@clemblanco

Copy link
Copy Markdown
Author

Victory! 🎉

@clemblanco clemblanco changed the title Support new lines for book/chapter descriptions Support new lines for book/chapter descriptions + fix tests Jul 17, 2017
@ssddanbrown
ssddanbrown merged commit 245294f into BookStackApp:master Jul 27, 2017
@ssddanbrown

Copy link
Copy Markdown
Member

@ClayMM Thank you very much for this pull request, Never even thought about multi-line descriptions.

I did make a couple of tweaks to the code. Thanks for trying to fix my LDAP testing, I altered this recently in a way that does not require to have LDAP loaded so I have removed the travis changes to keep builds speedy. Also, The Change to the titles allowed user HTML Injection so I have added some additional escaping. Both of these changes can be seen here: 21247e1

Thanks again! Will be part of the next bugfix release, v0.17.4, due in the next couple of days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants