]> BookStack Code Mirror - bookstack/commit
Update PageRepo.php 63/head
authorAkibaWolf <redacted>
Sat, 20 Feb 2016 16:31:21 +0000 (21:31 +0500)
committerAkibaWolf <redacted>
Sat, 20 Feb 2016 16:31:21 +0000 (21:31 +0500)
commitc2369a740dff0655ed87df228a787d9ea839d080
tree25ca5f207ee6d7dc36f89532624baf5c20c1df8b
parent86fbc9a93679bf7e0abe7385edd56c94c4a46051
Update PageRepo.php

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 Ð\9fÑ\80овеÑ\80ка instead of normal symbols).
app/Repos/PageRepo.php