straw/app
TransZAllen 22ee01bcfb refactor(ttml): improve extractText() to preserve spaces and special characters
- Replaced `text()` with `getWholeText()`:
  - avoids losing whitespaces at the beginning, end, or within the text;
  - avoids merging two or more consecutive spaces into a single space ' ';
  - avoids converting '\r', '\n', and '\r\n' within the text into a single space ' ';
  For subtitle conversion, the goal is to preserve every character exactly as intended by the subtitle author.
- Normalized tabs, line breaks, and other special characters for SRT-safe output.
- Added comprehensive unit tests in `SrtFromTtmlWriterTest.java`, including cases for simple and nested tags.
2025-10-17 01:57:01 +08:00
..
sampledata Larger channel cards in search results 2023-02-09 06:15:22 +05:30
schemas/org.schabi.newpipe.database.AppDatabase Fix DatabaseMigrationTest 2024-03-29 20:43:55 +01:00
src refactor(ttml): improve extractText() to preserve spaces and special characters 2025-10-17 01:57:01 +08:00
build.gradle Correctly ignore new version check for picasso 2025-08-01 10:50:54 +02:00
proguard-rules.pro Update NewPipe Extractor and add new proguard rules 2025-05-07 12:50:37 +02:00