1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-12 06:08:25 -05:00
This commit is contained in:
Jesse Vincent 2010-11-05 02:59:21 +00:00
parent e1686f627a
commit d0e85ce43a
3 changed files with 9 additions and 5 deletions

View File

@ -1886,7 +1886,8 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
if (part != null)
{
quotedText = MimeUtility.getTextFromPart(part);
if (quotedText != null) {
if (quotedText != null)
{
quotedText = (Html.fromHtml(quotedText)).toString();
}
}

View File

@ -2304,7 +2304,7 @@ public class MessageList
mAdapter.removeMessage(holder);
}
}
}
}
}
public void removeMessages(List<MessageInfoHolder> holders)

View File

@ -2502,10 +2502,13 @@ public class LocalStore extends Store implements Serializable
int start = m.start();
if (start == 0 || (start != 0 && text.charAt(start - 1) != '@'))
{
if (m.group().indexOf(':') > 0) { // With no URI-schema we may get "http:/" links with the second / missing
if (m.group().indexOf(':') > 0) // With no URI-schema we may get "http:/" links with the second / missing
{
m.appendReplacement(sb, "<a href=\"$0\">$0</a>");
} else {
m.appendReplacement(sb, "<a href=\"http://$0\">$0</a>");
}
else
{
m.appendReplacement(sb, "<a href=\"http://$0\">$0</a>");
}
}
else