Skip to content

Commit

Permalink
fix error when no new line
Browse files Browse the repository at this point in the history
addresses #88
  • Loading branch information
spessasus committed Dec 24, 2024
1 parent b6d7671 commit 5da4ca2
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 43 deletions.
4 changes: 4 additions & 0 deletions src/website/js/utils/ass_manager/ass_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,10 @@ export class AssManager
sectionContents.push(content);
}
}
if (isSection)
{
this.subData.push(new SubSection(sectionName, sectionContents));
}

// find the resolution
const scriptInfo = this._getSection("[Script Info]", true);
Expand Down
Loading

0 comments on commit 5da4ca2

Please sign in to comment.