mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
force utf8 and replace unknown chars
This commit is contained in:
parent
f84008f32f
commit
aff143bbe1
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ css:
|
|||
.row
|
||||
.span12
|
||||
div id="editor" style="width: 100%; height: 600px; position: relative;"
|
||||
#{@file_data}
|
||||
#{@file_data.encode('utf-8', 'binary', :invalid => :replace, :undef => :replace)}
|
||||
|
||||
|
||||
.row
|
||||
|
|
Loading…
Add table
Reference in a new issue