Update app/src/main/java/org/schabi/newpipe/streams/SrtFromTtmlWriter.java

Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
This commit is contained in:
TransZAllen 2025-10-28 17:39:04 +08:00 committed by GitHub
parent 3516667671
commit 71aa6d52d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,8 +99,8 @@ public class SrtFromTtmlWriter {
}
/**
* Handle rare XML entity characters like LF: &#xA;(`\n`)
* , CR: &#xD;(`\r`) and CRLF: (`\r\n`).
* Handle rare XML entity characters like LF: &#xA;(`\n`),
* CR: &#xD;(`\r`) and CRLF: (`\r\n`).
*
* These are technically valid in TTML (XML allows them)
* but unusual in practice, since most TTML line breaks