parse html in pronouns

This commit is contained in:
sk 2023-07-21 00:28:58 +02:00
parent cc054487ba
commit 9455eaf820
1 changed files with 1 additions and 1 deletions

View File

@ -1584,7 +1584,7 @@ public class UiUtils {
private static String extractPronounsFromField(String localizedPronouns, AccountField field) { private static String extractPronounsFromField(String localizedPronouns, AccountField field) {
if(!field.name.toLowerCase().contains(localizedPronouns) && if(!field.name.toLowerCase().contains(localizedPronouns) &&
!field.name.toLowerCase().contains("pronouns")) return null; !field.name.toLowerCase().contains("pronouns")) return null;
String text=HtmlParser.strip(field.value); String text=HtmlParser.text(field.value);
if(field.value.toLowerCase().contains("https://")){ if(field.value.toLowerCase().contains("https://")){
for(String pronounUrl : pronounsUrls){ for(String pronounUrl : pronounsUrls){
int index=text.indexOf(pronounUrl); int index=text.indexOf(pronounUrl);