Skip to content

Commit

Permalink
Merge pull request #7 from Leapward-Koex/furigana
Browse files Browse the repository at this point in the history
Fix broken new lines with furigana
  • Loading branch information
Leapward-Koex authored Jan 15, 2025
2 parents 98575d6 + 6e8451e commit 532bc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/FuriganaHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class FuriganaHandler {
let html = "";

for (const token of data) {
if (token.surface_form === "\\n") {
if (token.surface_form === "\n") {
html += "<br>";
continue;
}
Expand Down

0 comments on commit 532bc4c

Please sign in to comment.