fix: the problem of no spaces in the summary (#1003)

pull/1009/head
OlegPt 2020-08-01 23:18:45 +08:00 committed by GitHub
parent 41edec8213
commit d824ccac29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public abstract class BasePostServiceImpl<POST extends BasePost> extends Abstrac
private final OptionService optionService;
private final Pattern summaryPattern = Pattern.compile("\\s*|\t|\r|\n");
private final Pattern summaryPattern = Pattern.compile("\t|\r|\n");
public BasePostServiceImpl(BasePostRepository<POST> basePostRepository,
OptionService optionService) {