diff --git a/README.html b/README.html
index dfb4a496..2bac0b00 100644
--- a/README.html
+++ b/README.html
@@ -20,7 +20,7 @@
Javascript code prettifier
Setup
- - Download a distribution
+
- Download a distribution
- Include the script and stylesheets in your document
(you will need to make sure the css and js file are on your server, and
adjust the paths in the script and link tag)
diff --git a/src/prettify.js b/src/prettify.js
index 81de4dd8..eef87d9a 100644
--- a/src/prettify.js
+++ b/src/prettify.js
@@ -893,7 +893,7 @@ function pr_isIE6() {
* @param {string} sourceText plain text
* @param {Array.} extractedTags chunks of raw html preceded
* by their position in sourceText in order.
- * @param {Array. decorations style classes preceded by their
+ * @param {Array.} decorations style classes preceded by their
* position in sourceText in order.
* @return {string} html
* @private
@@ -1172,8 +1172,8 @@ function pr_isIE6() {
doWork();
}
- this.PR_normalizedHtml = normalizedHtml;
- this.prettyPrintOne = prettyPrintOne;
- this.prettyPrint = prettyPrint;
- this.PR_registerLangHandler = registerLangHandler;
+ window.PR_normalizedHtml = normalizedHtml;
+ window.prettyPrintOne = prettyPrintOne;
+ window.prettyPrint = prettyPrint;
+ window.PR_registerLangHandler = registerLangHandler;
})();