Sfoglia il codice sorgente

Fixed NotepadA cant show HTML issue

Toby Chui 3 anni fa
parent
commit
58197f13a5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      web/NotepadA/ace/editor.html

+ 1 - 1
web/NotepadA/ace/editor.html

@@ -63,7 +63,7 @@
 
 		//Load the content of the file
 		$.get("../../media?file=" + filepath, function(fileContent){
-				$("#editor").html(fileContent);
+				$("#editor").text(fileContent);
 
 				//Start the editor if not started
 				if (editor == undefined){