mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-03-12 05:15:37 +08:00

Fix encoding problem. By default DOMDocument::loadHTML treats a string as being encoded with ISO-8859-1. This causes a problem with saving cyrillic pages' text that becomes completely unreadable (like ÐÑовеÑка instead of normal symbols).