15m29: 428 splitSentences长句硬切115套protectCut(15m28漏掉这条路径), 修'第六章第3节'被劈
Auto Release / build (push) Successful in 2m44s
Auto Release / build (push) Successful in 2m44s
This commit is contained in:
@@ -425,8 +425,10 @@ public class CustomScreenManager implements Listener {
|
|||||||
pages.add(page.toString().trim());
|
pages.add(page.toString().trim());
|
||||||
page = new StringBuilder();
|
page = new StringBuilder();
|
||||||
}
|
}
|
||||||
page.append(s.substring(0, 115));
|
// 15m28: 115 硬切前套 protectCut, 防劈"第N节/章/条/款"编号
|
||||||
s = s.substring(115);
|
int hardCut = protectCut(s, 115);
|
||||||
|
page.append(s.substring(0, hardCut));
|
||||||
|
s = s.substring(hardCut);
|
||||||
}
|
}
|
||||||
if (page.length() + s.length() + 1 > 115 && page.length() > 0) {
|
if (page.length() + s.length() + 1 > 115 && page.length() > 0) {
|
||||||
pages.add(page.toString().trim());
|
pages.add(page.toString().trim());
|
||||||
|
|||||||
Reference in New Issue
Block a user