Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(821)

Unified Diff: chrome/common/extensions/docs/build/generator.html

Issue 179068: Extension Doc Changes (no building or testable changes): minor changes for tab & windows doc (Closed)
Patch Set: touch grd. rendered docs Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/build/generator.html
diff --git a/chrome/common/extensions/docs/build/generator.html b/chrome/common/extensions/docs/build/generator.html
index 7e82e0e72963c6d99a76b21aa7c826cd55589f4b..eedebf8bcab9c02d3af441e2a6a9162e1eeb662d 100755
--- a/chrome/common/extensions/docs/build/generator.html
+++ b/chrome/common/extensions/docs/build/generator.html
@@ -25,10 +25,11 @@ function generate() {
}
function done() {
+ var preNode = document.createElement('pre');
var textNode = document.createTextNode(
childFrame.contentWindow.serializePage());
- document.getElementsByTagName("body")[0].appendChild(textNode);
-
+ preNode.appendChild(textNode);
+ document.getElementsByTagName("body")[0].appendChild(preNode);
layoutTestController.notifyDone();
}
</script>

Powered by Google App Engine
This is Rietveld 408576698