mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-06 02:54:05 +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