Skip to content

Commit

Permalink
Single line break
Browse files Browse the repository at this point in the history
  • Loading branch information
mithandir committed Nov 16, 2024
1 parent 8b5dcdc commit 3135903
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private void summarizeNormalText(NewsEntry news) {
.call()
.content();

content = content.replaceAll("\n", "<br><br>");
content = content.replaceAll("\n", "<br>");
news.setSummary(content);
LOG.debug("Summary: {}", content);
mongo.update(news);
Expand Down

0 comments on commit 3135903

Please sign in to comment.