gh-105017: Fix including additional NL token when using CRLF (#105022)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 files changed