Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b34396d3 authored by Raph Levien's avatar Raph Levien Committed by Android Git Automerger
Browse files

am aac0c9e7: am 9d66b9cd: am 073477a1: am 93a2c97d: am 1b3d0351: Merge...

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

* commit 'aac0c9e7':
  Improve Html.toHtml() documentation
parents 5cc9a7a8 aac0c9e7
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -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) {
    public static String toHtml(Spanned text) {
        StringBuilder out = new StringBuilder();
        StringBuilder out = new StringBuilder();