Another encoding fix from #387.

This commit is contained in:
bootstraponline
2012-07-12 12:06:47 -06:00
parent 76fa52b313
commit a9e9eeeb54
+2 -1
View File
@@ -110,7 +110,8 @@ module Precious
else
@page = page
@page.version = wiki.repo.log(wiki.ref, @page.path).first
@content = page.raw_data
raw_data = page.raw_data
@content = raw_data.respond_to?(:force_encoding) ? raw_data.force_encoding('UTF-8') : raw_data
mustache :edit
end
else