Merge branch 'develop' of https://bitbucket.org/tom79/mastodon_etalab into develop
This commit is contained in:
commit
d26ebec568
|
@ -356,6 +356,11 @@ public class StatusListAdapter extends BaseAdapter implements OnPostActionInterf
|
||||||
while (matcher.find()){
|
while (matcher.find()){
|
||||||
String key = "__u" + String.valueOf(i) + "__";
|
String key = "__u" + String.valueOf(i) + "__";
|
||||||
String value = matcher.group(0);
|
String value = matcher.group(0);
|
||||||
|
int end = matcher.end();
|
||||||
|
if (spannableString.charAt(end) == '/') {
|
||||||
|
text = spannableString.toString().substring(0, end).
|
||||||
|
concat(spannableString.toString().substring(end+1, spannableString.length()));
|
||||||
|
}
|
||||||
if( value != null) {
|
if( value != null) {
|
||||||
urlConversion.put(key, value);
|
urlConversion.put(key, value);
|
||||||
text = text.replace(value, key);
|
text = text.replace(value, key);
|
||||||
|
|
Loading…
Reference in New Issue