Commit f3136070 authored by Leo Iannacone's avatar Leo Iannacone

set content as text

parent c0ab78ec
......@@ -324,7 +324,7 @@ function Page_Distrubion(socket) {
var file = {
set: function (socket_data) {
view.file = Utils.clone(socket_data.file);
$('#file pre').html(socket_data.file.content);
$('#file pre').text(socket_data.file.content);
$('#file').show();
if (current_file_in_preview)
$('#file pre').scrollTop($('#file pre')[0].scrollHeight);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment