CourseWork v2
This commit is contained in:
parent
abbb4d65ef
commit
0c8cdd4370
@ -84,7 +84,9 @@ class BossesRepository extends ApiInterface {
|
|||||||
String text = document.body?.text ?? '';
|
String text = document.body?.text ?? '';
|
||||||
text = text.split("==Галерея==")[0];
|
text = text.split("==Галерея==")[0];
|
||||||
text = text.split("== Галерея ==")[0];
|
text = text.split("== Галерея ==")[0];
|
||||||
|
text = text.split("== Видео ==")[0];
|
||||||
text = text.replaceAll(RegExp(r'\{[^\}]*\}'), '');
|
text = text.replaceAll(RegExp(r'\{[^\}]*\}'), '');
|
||||||
|
text = text.replaceAll(RegExp(r'[{}]'), '');
|
||||||
descs.add((boss['title'], text.trim()));
|
descs.add((boss['title'], text.trim()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user