Don't interpret html inside poll options. (#1527)
* Don't interpret html inside poll options. Closes #1362 * Update translations * Mark poll_percent_format as untranslatable
This commit is contained in:
parent
2ed14d0b90
commit
bf62187fe2
@ -22,6 +22,7 @@ import androidx.core.text.parseAsHtml
|
||||
import com.keylesspalace.tusky.R
|
||||
import com.keylesspalace.tusky.entity.Poll
|
||||
import com.keylesspalace.tusky.entity.PollOption
|
||||
import com.keylesspalace.tusky.util.HtmlUtils
|
||||
import java.util.*
|
||||
import kotlin.math.roundToInt
|
||||
|
||||
@ -74,4 +75,4 @@ fun PollOption.toViewData(): PollOptionViewData {
|
||||
votesCount,
|
||||
false
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user