Replace 'Whitelist' with 'AllowList' in HtmlHelper
This commit is contained in:
parent
8b043840c7
commit
02b5feacad
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue