Get parsing working, and HTML generation from resulting objects

This commit is contained in:
Saphire committed 2022-02-21 02:27:27 +07:00
1 parent a7250ceacf
commit 38f317afd3
9 files changed
+171 -146

No files matched your search

+4 -2
View File
@@ -9,7 +9,7 @@ public record ThreadPost
public string Author { get; set; }
public string Uid { get; set; }
public string RawHtml { get; set; }
public ParsedContent.ParsedContent? ParsedContent { get; set; }
public RootNode? ParsedContent { get; set; }
public string? File { get; set; }
public string? Filename { get; set; }
public string? Title { get; set; }
@@ -18,8 +18,10 @@ public record ThreadPost
[JsonIgnore]
public bool IsChapterAnnounce { get; set; } = false;
[JsonIgnore]
public ChapterMetadata? Chapter { get; set; }
public List<int>? RepliesTo { get; set; }
[JsonIgnore]
public bool AuthorPost { get; set; } = false;
}
public record Metadata