Skip to content

Commit

Permalink
Specify character
Browse files Browse the repository at this point in the history
  • Loading branch information
floxdeveloper committed Feb 9, 2025
1 parent 98a4393 commit 05d4c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extractHighlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function extractHighlight(annot: any, items: any) {
quad[0].y
);
const res = searchQuad(minx, maxx, miny, maxy, items);
// if the last character of the text is not a hyphen, we concatenate the lines, by adding a blank
// if the last character of txt (previous lines) is not a hyphen, we concatenate the lines, by adding a blank
if (txt != "" && txt.substring(txt.length - 1) != "-") {
return txt + " " + res;
} else if (
Expand Down

0 comments on commit 05d4c97

Please sign in to comment.