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

* commit '073477a18ee37c87ad69260edae48f48578af921':
  Improve Html.toHtml() documentation
This commit is contained in:
Raph Levien
2015-07-14 00:21:16 +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();