Added the other variant that might happen, though I've not come across it as yet.

This commit is contained in:
PhotonQyv 2017-09-07 18:21:47 +01:00
parent 35d879e7e2
commit 1b3f6fe4b4
1 changed files with 4 additions and 2 deletions

View File

@ -1033,9 +1033,11 @@ public class StatusListAdapter extends BaseAdapter implements OnPostActionInterf
/*
Noticed that sometimes the special tags were getting messed up by Google,
might be other variants, only caught this one so far.
might be other variants, only caught one so far.
But, pre-planning might save some time later...
*/
aJsonString = aJsonString.replaceAll("__ (u|t)(\\d+)__", "__$1$2__");
aJsonString = aJsonString.replaceAll("__ (u|t)(\\d+)__", "__$1$2__").replaceAll("__(u|t)(\\d+) __", "__$1$2__");
aJsonString = URLDecoder.decode(aJsonString, "UTF-8");
return aJsonString;