Skip to content

Commit

Permalink
ensure space after each line break (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdroidian authored Feb 29, 2024
1 parent 2d07398 commit 3f6e462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/ocr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ export const toggleFeature = (flag: boolean) => {
const bullets = [];
let currentText = "";
for (let b = 0; b < textBullets.length; b++) {
const s = textBullets[b];
const s = textBullets[b].trim();
if (s) {
currentText += s;
currentText += ` ${s}`;
} else {
bullets.push(
currentText.startsWith("* ") ||
Expand Down

0 comments on commit 3f6e462

Please sign in to comment.