Fix editing of the sidebar with multi-byte characters.

This commit is contained in:
ngyuki
2013-08-09 14:45:19 +09:00
parent 395e9bd006
commit a69d62911c
2 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -141,8 +141,7 @@ module Precious
else
@page = page
@page.version = wiki.repo.log(wiki.ref, @page.path).first
raw_data = page.raw_data
@content = raw_data.respond_to?(:force_encoding) ? raw_data.force_encoding('UTF-8') : raw_data
@content = page.text_data
mustache :edit
end
else