diff options
author | Sebastian Celis <sebastian@sebastiancelis.com> | 2017-12-31 00:38:07 +0300 |
---|---|---|
committer | Sebastian Celis <sebastian@sebastiancelis.com> | 2017-12-31 00:38:07 +0300 |
commit | 4891736b1ba2afb52a7cb025952044ef735b9fad (patch) | |
tree | 6984bf75c28d93bf1dcd3e8fd9526c65a92fcca8 | |
parent | 7a7ca59c2dbc8d531fff93fa3ccf0d745c2a632c (diff) |
Clean up android styling documentation
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -81,8 +81,8 @@ Twine currently supports the following output formats: * HTML tags will be escaped by replacing `<` with `<` * Tags inside `<![CDATA[` won't be escaped. * Supports [basic styling][androidstyling] with `<b>`, `<i>`, `<u>` and `<a>` links. - * These tags will *not* be escaped, if the string doesn't contain placeholders so you can reference them directly in your layouts or use [`getText()`](https://developer.android.com/reference/android/content/res/Resources.html#getText(int)) to read them programatically. - * These tags *will* be escaped, if the string contains placeholders. You can use [`getString()`](https://developer.android.com/reference/android/content/res/Resources.html#getString(int,%20java.lang.Object...)) combined with [`fromHtml`](https://developer.android.com/reference/android/text/Html.html#fromHtml(java.lang.String)) as shown in the [documentation][androidstyling] to display them. + * These tags will *not* be escaped if the string doesn't contain placeholders. You can reference them directly in your layouts or by using [`getText()`](https://developer.android.com/reference/android/content/res/Resources.html#getText(int)) to read them programatically. + * These tags *will* be escaped if the string contains placeholders. You can use [`getString()`](https://developer.android.com/reference/android/content/res/Resources.html#getString(int,%20java.lang.Object...)) combined with [`fromHtml`](https://developer.android.com/reference/android/text/Html.html#fromHtml(java.lang.String)) as shown in the [documentation][androidstyling] to display them. * See [\#212](https://github.com/scelis/twine/issues/212) for details. * [Gettext PO Files][gettextpo] (format: gettext) * [jquery-localize Language Files][jquerylocalize] (format: jquery) |