From c8fc76e071f951ee052d28f039bedb7fe7accaab Mon Sep 17 00:00:00 2001 From: TakenPt Date: Sun, 21 Apr 2024 20:44:21 +0900 Subject: [PATCH] =?UTF-8?q?#23=20EmptySingleParagraph=E3=82=92=E3=83=97?= =?UTF-8?q?=E3=83=AD=E3=83=91=E3=83=86=E3=82=A3=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KoeBook.Test/Epub/ScrapingAozoraServiceTest.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/KoeBook.Test/Epub/ScrapingAozoraServiceTest.cs b/KoeBook.Test/Epub/ScrapingAozoraServiceTest.cs index 2d10082..4866d5f 100644 --- a/KoeBook.Test/Epub/ScrapingAozoraServiceTest.cs +++ b/KoeBook.Test/Epub/ScrapingAozoraServiceTest.cs @@ -20,6 +20,12 @@ public ScrapingAozoraServiceTest() .OfType() .Single(); } + + private static EpubDocument EmptySingleParagraph + { + get { return new EpubDocument("", "", "", Guid.NewGuid()) { Chapters = [new Chapter() { Sections = [new Section("") { Elements = [new Paragraph()] }] }] }; } + } + /// /// (htmlの要素の)テキストを"
"で囲む ///