This commit is contained in:
Simon Martens
2022-01-27 21:57:17 +01:00
parent 0d1905c761
commit 8b84b6785a
472 changed files with 95 additions and 42746 deletions

View File

@@ -78,11 +78,10 @@ namespace HaDocument.Reactors
{
_page = tag["index"];
if (!CreatedStructure[Index].ContainsKey(_page))
{
CreatedStructure[Index].Add(_page, new HashSet<string>());
}
}
else if (
_active &&
!tag.EndTag &&
!tag.IsEmpty &&
tag.Name == "hand" &&
@@ -94,14 +93,13 @@ namespace HaDocument.Reactors
_handstartpg = _page;
}
else if (
_active &&
tag.EndTag &&
tag.Name == "hand"
)
{
if (_hands == null)
{
_hands = new List<Hand>();
}
_hands.Add(new Hand(Index, _person, _handstartpg, _handstartln, _page, _line));
}
}

View File

@@ -155,9 +155,6 @@ namespace HaDocument.Reactors {
(Sort.Year >= _availableYearRange.Item1 && Sort.Year <= _availableYearRange.Item2) ||
(_availableVolumes == null && _availableYearRange.Item1 == 0 && _availableYearRange.Item2 == 0)
) {
if (Index == "1190") {
;
}
var ZHInfo = !inZH ? null : new ZHInfo(AltLineNumbering, dateChanged, Volume, Page);
var meta = new Meta(
Index,

View File

@@ -87,6 +87,7 @@ namespace HaDocument.Reactors
}
}
else if (
_active &&
!tag.EndTag &&
!tag.IsEmpty &&
tag.Name == "hand" &&
@@ -98,14 +99,13 @@ namespace HaDocument.Reactors
_handstartpg = _page;
}
else if (
_active &&
tag.EndTag &&
tag.Name == "hand"
)
{
if (_hands == null)
{
_hands = new List<Hand>();
}
_hands.Add(new Hand(Index, _person, _handstartpg, _handstartln, _page, _line));
}
}