Skip to content

fix(text): support CR-only and mixed newlines in Text Batch Studio - #28

Open
appdevelopsk wants to merge 3 commits into
mainfrom
fix/text-batch-cr-only-newlines-20261104
Open

appdevelopsk wants to merge 3 commits into
mainfrom
fix/text-batch-cr-only-newlines-20261104

Conversation

@appdevelopsk

Copy link
Copy Markdown
Owner

Bug

Text Batch Studio used split(/\r?\n/) both for deduplicating text and enforcing free line limits. Legacy Mac (\r only) files were read as one line, so duplicates were not removed and the 5,000-line limit could be bypassed.

Changes

  • Split all three text newline formats (\r\n, \n, \r) consistently in processing and in the limit guard.
  • Add tests for mixed newline normalization and exact 5,000 / 5,001 CR-only record limits.
  • CSV quote-aware line counting and JSON behavior unchanged.

Await full CI/Lighthouse success before merging; VPS deploy follows merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant