Index: chrome/common/extensions/docs/templates/articles/app_external.html |
diff --git a/chrome/common/extensions/docs/templates/articles/app_external.html b/chrome/common/extensions/docs/templates/articles/app_external.html |
index 3023a4b22755211abe3db568975b239233fbccf7..609b3b9cfb4daa75d87375bbbb2b9e8711d6a379 100644 |
--- a/chrome/common/extensions/docs/templates/articles/app_external.html |
+++ b/chrome/common/extensions/docs/templates/articles/app_external.html |
@@ -141,8 +141,7 @@ but you won't be able to use the cool new stuff. |
<h3 id="inline_scripts">Use inline scripts in sandbox</h3> |
<p> |
-Here's a sample sandboxed page |
-which uses an inline script and <code>eval()</code>: |
+Here's a sample sandboxed page which uses an inline script and <code>eval()</code>: |
</p> |
<pre data-filename="sandboxed.html"> |
@@ -150,8 +149,7 @@ which uses an inline script and <code>eval()</code>: |
<body> |
<h1>Woot</h1> |
<script> |
- document.write('I am an inline script.<br>'); |
- eval('document.write(\'I am an eval-ed inline script.\');'); |
+ eval('console.log(\'I am an eval-ed inline script.\')'); |
</script> |
</body> |
</html> |