Skip to content

Commit 5f1d100

Browse files
scottamainAndroid (Google) Code Review
authored andcommitted
Merge "docs: fix markup error" into froyo
2 parents e64256d + e3b9f8b commit 5f1d100

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/java/android/webkit/WebView.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,13 @@
143143
* </pre>
144144
*
145145
* <p>Then load the desired web page:</p>
146+
* <pre>
146147
* // Simplest usage: note that an exception will NOT be thrown
147148
* // if there is an error loading this page (see below).
148149
* webview.loadUrl("http://slashdot.org/");
149150
*
150151
* // OR, you can also load from an HTML string:
151-
* String summary = "&lt;html>&lt;body>You scored &lt;b>192</b> points.&lt;/body>&lt;/html>";
152+
* String summary = "&lt;html>&lt;body>You scored &lt;b>192&lt;/b> points.&lt;/body>&lt;/html>";
152153
* webview.loadData(summary, "text/html", "utf-8");
153154
* // ... although note that there are restrictions on what this HTML can do.
154155
* // See the JavaDocs for {@link #loadData(String,String,String) loadData()} and {@link

0 commit comments

Comments
 (0)