mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 19:04:38 -06:00
[APIv2/Librus] Fix replacing weird XML tags in messages.
This commit is contained in:
parent
25f504cadf
commit
c83f20983b
@ -38,7 +38,7 @@ class LibrusMessagesGetMessage(
|
||||
val body = Base64.decode(message.select("Message").text(), Base64.DEFAULT)
|
||||
.toString(Charset.defaultCharset())
|
||||
.replace("\n", "<br>")
|
||||
.replace("<!\\[CDATA\\[", "")
|
||||
.replace("<![CDATA[", "")
|
||||
.replace("]]>", "")
|
||||
|
||||
messageObject.apply {
|
||||
|
Loading…
Reference in New Issue
Block a user