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 c76fe2adc6
commit 38360ba96f

View file

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