Replace 'Whitelist' with 'AllowList' in HtmlHelper

This commit is contained in:
cketti 2020-06-02 17:08:33 +02:00
parent 8b043840c7
commit 02b5feacad

View file

@ -1,11 +1,11 @@
package com.fsck.k9.message.html
import org.jsoup.Jsoup
import org.jsoup.safety.Whitelist
import org.jsoup.safety.Whitelist as AllowList
object HtmlHelper {
@JvmStatic
fun extractText(html: String): String {
return Jsoup.clean(html, Whitelist.none())
return Jsoup.clean(html, AllowList.none())
}
}