Fixed escape sequences that were written as plain characters

This commit is contained in:
Thorsten Sommer committed 2026-09-23 22:13:28 +02:00
1 parent d1800f0a8c
commit 35b58c557c
6 files changed
+8 -8

No files matched your search

@@ -28,7 +28,7 @@ public sealed class WebTextContentExtractorTests
[Test]
public void TheByteOrderMarkAndLineEndingsAreNormalized()
{
var page = WebTextContentExtractor.Extract("first\r\nsecond\rthird\n", "text/plain", URL);
var page = WebTextContentExtractor.Extract("\uFEFFfirst\r\nsecond\rthird\n", "text/plain", URL);
Assert.That(page.Markdown, Is.EqualTo("first\nsecond\nthird"), "The byte order mark is not part of the text, and the line endings are unified just as they are for an extracted page.");
}