mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-03-04 07:41:10 +08:00

Language parsing of code blocks could falter on pasted code blocks due to the lanuage being parsed with a space which would throw an error when used as a css class. This adds more extensive language parsing to be safer. Fixes #3133