mirror of https://github.com/halo-dev/halo
fix: the problem of no spaces in the summary (#1003)
parent
41edec8213
commit
d824ccac29
|
@ -52,7 +52,7 @@ public abstract class BasePostServiceImpl<POST extends BasePost> extends Abstrac
|
||||||
|
|
||||||
private final OptionService optionService;
|
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,
|
public BasePostServiceImpl(BasePostRepository<POST> basePostRepository,
|
||||||
OptionService optionService) {
|
OptionService optionService) {
|
||||||
|
|
Loading…
Reference in New Issue