mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Bugfixes fith the scolling bar, two senders and receivers
This commit is contained in:
@@ -6,30 +6,20 @@ public class BriefeMetaViewModel {
|
||||
public bool HasMarginals { get; private set; }
|
||||
public bool HasText { get; set; } = true;
|
||||
|
||||
private string? _ParsedSenders;
|
||||
private string? _ParsedReceivers;
|
||||
private List<(string Sender, string Receiver)>? _SenderReceiver;
|
||||
private string? _ParsedZHString;
|
||||
private string? _Startline;
|
||||
private string? _Startpage;
|
||||
|
||||
public string? ParsedSenders {
|
||||
get => _ParsedSenders;
|
||||
public List<(string Sender, string Receiver)>? SenderReceiver {
|
||||
get => _SenderReceiver;
|
||||
set {
|
||||
if (value != null)
|
||||
_ParsedSenders = HttpUtility.HtmlEncode(value);
|
||||
else
|
||||
_ParsedSenders = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string? ParsedReceivers {
|
||||
get => _ParsedReceivers;
|
||||
set {
|
||||
if (value != null)
|
||||
_ParsedReceivers = HttpUtility.HtmlEncode(value);
|
||||
else
|
||||
_ParsedReceivers = value;
|
||||
|
||||
value.ForEach(x => {
|
||||
HttpUtility.HtmlEncode(x.Sender);
|
||||
HttpUtility.HtmlEncode(x.Receiver);
|
||||
});
|
||||
_SenderReceiver = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user