summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Scott Main <smain@google.com> 2010-05-18 09:12:37 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2010-05-18 09:12:37 -0700
commit5ddfac4239193b1fcb987bfebc7f3d06ecedff33 (patch)
tree538725fb31fed2a9d23db8c1d1e4a0cbd3cca5d5
parente5c50c621193e3c2f9e31cfc7174c160d838dec2 (diff)
parent68cc7187864d05462958cba78ca4dea0342a141e (diff)
am 68cc7187: am 8473259d: am 74e151c5: am 5f1d1002: Merge "docs: fix markup error" into froyo
-rw-r--r--core/java/android/webkit/WebView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index 7d453ff61561..ebcf5c5a6a98 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -137,12 +137,13 @@ import junit.framework.Assert;
* </pre>
*
* <p>Then load the desired web page:</p>
+ * <pre>
* // Simplest usage: note that an exception will NOT be thrown
* // if there is an error loading this page (see below).
* webview.loadUrl("http://slashdot.org/");
*
* // OR, you can also load from an HTML string:
- * String summary = "&lt;html>&lt;body>You scored &lt;b>192</b> points.&lt;/body>&lt;/html>";
+ * String summary = "&lt;html>&lt;body>You scored &lt;b>192&lt;/b> points.&lt;/body>&lt;/html>";
* webview.loadData(summary, "text/html", "utf-8");
* // ... although note that there are restrictions on what this HTML can do.
* // See the JavaDocs for {@link #loadData(String,String,String) loadData()} and {@link