Skip to content

Commit 21b52eb

Browse files
committed
Fix bug in offline export
1 parent ef8fa8a commit 21b52eb

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎GlowScriptOffline/GlowScript.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@
248248
var divid = "glowscript"
249249
var embedHTML = (
250250
'<div id="' + divid + '" class="glowscript">\n' +
251+
'<meta http-equiv="Content-Type" content="text/html; charset=utf-8">' +
251252
'<link type="text/css" href="'+exporturl+'css/redmond/' + verdir + '/jquery-ui.custom.css" rel="stylesheet" />\n' +
252253
'<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css" />\n' +
253254
'<link type="text/css" href="' + exporturl + 'css/ide.css" rel="stylesheet" />\n' +

‎docs/VPythonDocs/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<blockquote>
112112
<p class="Normal">* You will see the sentence &quot;You are signed in as &lt;your user name&gt; and your programs are <strong>here</strong>.&quot; Click on <strong>here</strong>.</p>
113113
<p class="Normal">* Click<strong> Create New Program</strong>. (You may wish to click on the <strong>Public</strong> tab before creating your program, as programs in your <strong>Private</strong> folder are not accessible to others.) Choose a name for the program, which should not include spaces or underscores.</p>
114-
<p class="Normal">* Below the line <strong>GlowScript 2.6 VPython</strong>, type <strong>box()</strong>. Click <strong>Run this program</strong> to run your program. You will see a white box on a black background.</p>
114+
<p class="Normal">* Below the line <strong>GlowScript 2.7 VPython</strong>, type <strong>box()</strong>. Click <strong>Run this program</strong> to run your program. You will see a white box on a black background.</p>
115115
<p class="Normal">* Use the right button (or CTRL-drag left button) of the mouse to rotate the camera to view the scene from different angles.</p>
116116
<p class="Normal">* To zoom in and out use two buttons, or ALT/OPTION-drag, or the mouse scrollwheel. Touch screen: swipe or two-finger rotate; pinch/extend to zoom.<br />
117117
</p>

0 commit comments

Comments
 (0)