am 1b3d0351: Merge "Improve Html.toHtml() documentation" into mnc-dev

* commit '1b3d03512e7bc759d3cd340280d7a5c59195a063':
  Improve Html.toHtml() documentation
This commit is contained in:
Raph Levien
2015-07-13 23:00:20 +00:00
committed by Android Git Automerger

View File

@@ -137,7 +137,12 @@ public class Html {
}
/**
* Returns an HTML representation of the provided Spanned text.
* Returns an HTML representation of the provided Spanned text. A best effort is
* made to add HTML tags corresponding to spans. Also note that HTML metacharacters
* (such as "<" and "&") within the input text are escaped.
*
* @param text input text to convert
* @return string containing input converted to HTML
*/
public static String toHtml(Spanned text) {
StringBuilder out = new StringBuilder();