diff options
| author | Scott Main <smain@google.com> | 2010-05-18 08:59:03 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-05-18 08:59:03 -0700 |
| commit | 5f1d100298dfafbd996b6deff457e6d1de4008a0 (patch) | |
| tree | ba78fb97d59942b11ba7157a130863d0256eb6fc | |
| parent | e64256d610ec5ea3df5db8a24333a6ce98b83d49 (diff) | |
| parent | e3b9f8b9b295baca000c0a23d90d76c984168735 (diff) | |
| download | frameworks_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.java | 3 |
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 = "<html><body>You scored <b>192</b> points.</body></html>"; + * String summary = "<html><body>You scored <b>192</b> points.</body></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 |
