Fixed empty short description for some items
This commit is contained in:
parent
d22f11f8bd
commit
1e3b93033a
1 changed files with 1 additions and 0 deletions
|
@ -245,6 +245,7 @@ public class WikiArticleHelper {
|
|||
|
||||
int firstParagraphStart = content.indexOf(P_OPENED);
|
||||
int firstParagraphEnd = content.indexOf(P_CLOSED);
|
||||
firstParagraphEnd = firstParagraphEnd < firstParagraphStart ? content.indexOf(P_CLOSED, firstParagraphStart) : firstParagraphEnd;
|
||||
if (firstParagraphStart == -1 || firstParagraphEnd == -1
|
||||
|| firstParagraphEnd < firstParagraphStart) {
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue