Browse Source

GUI: Fixed broken HTML generation (because of the innerText > innerHTML change).

Mr.doob 14 years ago
parent
commit
a885f9f4b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/js/Code.js

+ 1 - 1
gui/js/Code.js

@@ -85,7 +85,7 @@ var Code = function () {
 
 		if ( _html ) {
 
-			string = '<!doctype html>\n<html>\n\t<body>\n\t\t<script src=\"js/Three.js\"></script>\n\t\t<script src=\"js/RequestAnimationFrame.js\"></script>\n\t\t<script>\n' + ( '\n' + string ).replace( /\n/gi, '\n\t\t\t' ) + '\n\n\t\t</script>\n\t</body>\n</html>';
+			string = '&lt;!doctype html&gt;\n&lt;html&gt;\n\t&lt;body&gt;\n\t\t&lt;script src=\"js/Three.js\"&gt;&lt;/script&gt;\n\t\t&lt;script src=\"js/RequestAnimationFrame.js\"&gt;&lt;/script&gt;\n\t\t&lt;script&gt;\n' + ( '\n' + string ).replace( /\n/gi, '\n\t\t\t' ) + '\n\n\t\t&lt;/script&gt;\n\t&lt;/body&gt;\n&lt;/html&gt;';
 
 		}