summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2010-05-18 08:59:03 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-05-18 08:59:03 -0700
commit5f1d100298dfafbd996b6deff457e6d1de4008a0 (patch)
treeba78fb97d59942b11ba7157a130863d0256eb6fc
parente64256d610ec5ea3df5db8a24333a6ce98b83d49 (diff)
parente3b9f8b9b295baca000c0a23d90d76c984168735 (diff)
downloadframeworks_base-5f1d100298dfafbd996b6deff457e6d1de4008a0.zip
frameworks_base-5f1d100298dfafbd996b6deff457e6d1de4008a0.tar.gz
frameworks_base-5f1d100298dfafbd996b6deff457e6d1de4008a0.tar.bz2
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 863a6cd..921d0f5 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -143,12 +143,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