mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
HTML-format quest text
Some quests use HTML, this will automatically format it.
This commit is contained in:
parent
2b5567623a
commit
888e0b7cfa
1 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
<import type="com.magicmicky.habitrpgwrapper.lib.models.Group" />
|
||||
<import type="com.magicmicky.habitrpgwrapper.lib.models.QuestContent" />
|
||||
<import type="android.view.View" />
|
||||
<import type="android.text.Html"/>
|
||||
|
||||
<variable
|
||||
name="party"
|
||||
|
|
@ -107,7 +108,7 @@
|
|||
<TextView android:layout_margin="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@{quest.notes}" />
|
||||
android:text="@{quest.notes != null ? Html.fromHtml(quest.notes) : null}" />
|
||||
</LinearLayout>
|
||||
</GridLayout>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue