Fix regex
This commit is contained in:
parent
f4f6c488d9
commit
67a4d90bc1
|
@ -649,7 +649,7 @@ public class Status implements Parcelable{
|
|||
i++;
|
||||
}
|
||||
status.setImageURL(imgs);
|
||||
content = content.replaceAll("(<\\s?p\\s?>)>(((?!(<\\/p>)|(<br)){5,})*)(<\\s?\\/p\\s?><\\s?p\\s?>|<\\s?br\\s?\\/?>)","<blockquote>$2</blockquote><p>");
|
||||
content = content.replaceAll("(<\\s?p\\s?>)>(((?!(<\\/p>)|(<br)).){5,})(<\\s?\\/p\\s?><\\s?p\\s?>|<\\s?br\\s?\\/?>)","<blockquote>$2</blockquote><p>");
|
||||
spannableStringContent = new SpannableString(content);
|
||||
final int[] j = {0};
|
||||
if( status.getImageURL() != null && status.getImageURL().size() > 0){
|
||||
|
|
Loading…
Reference in New Issue