1
0
mirror of https://github.com/tateisu/SubwayTooter synced 2025-01-11 08:53:54 +01:00

(Mastodon)投票の選択肢をHTMLとして解釈しないようにする

This commit is contained in:
tateisu 2019-04-16 16:26:47 +09:00
parent ddc66a9c92
commit b9fe4d7946

View File

@ -247,7 +247,7 @@ class TootPolls private constructor(
val text = reWhitespace
.matcher((o.parseString("title") ?: "?").sanitizeBDI())
.replaceAll(" ")
val decoded_text = options.decodeHTML(text)
val decoded_text = options.decodeEmoji(text)
items.add(
TootPollsChoice(