- Abstracted the XML-HTML Parser into a neat little state machine

- Added Settings classes for all things XML-HTML conversion
This commit is contained in:
schnulller
2022-05-19 22:34:49 +02:00
parent 2ed7265869
commit d054cf07e1
25 changed files with 1276 additions and 725 deletions

View File

@@ -1,2 +1,39 @@
@model BriefeViewModel;
@Model.Meta.Meta.Autopsic
@Model.Meta.ParsedSenders
@Model.Index
@Model.Id
@if (Model.Next != null) {
<a href="@Model.Next.Value.Item2">@Model.Next.Value.Item1.Meta.Autopsic</a>
}
@if (Model.ParsedText != null) {
@Html.Raw(@Model.ParsedText)
}
@if (Model.ParsedLineCount != null) {
@Html.Raw(@Model.ParsedLineCount)
}
@if (Model.ParsedMarginals != null) {
@Html.Raw(@Model.ParsedMarginals)
}
@if (Model.ParsedTradition != null) {
@Html.Raw(@Model.ParsedTradition)
}
@if (Model.ParsedEdits != null) {
@foreach (var edit in Model.ParsedEdits) {
@Html.Raw(edit)
}
}
@if (Model.ParsedHands != null)
{
@foreach (var hand in Model.ParsedHands) {
@Html.Raw(hand)
}
}