mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-31 23:45:39 +00:00
Liens
This commit is contained in:
parent
1183cb62ec
commit
e28a4e419d
1 changed files with 5 additions and 5 deletions
|
|
@ -553,11 +553,11 @@
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var spans = link.SelectMany(x => CreateSpans(x, this.Theme.Link.FontFamily ?? family, attributes| this.Theme.Link.Attributes, this.Theme.Link.ForegroundColor, this.Theme.Link.BackgroundColor, size)).ToArray();
|
var spans = link.SelectMany(x => CreateSpans(x, this.Theme.Link.FontFamily ?? family, attributes| this.Theme.Link.Attributes, this.Theme.Link.ForegroundColor, this.Theme.Link.BackgroundColor, size)).ToArray();
|
||||||
//var newlink = new KeyValuePair<string, string>(string.Join("", spans.Select(x => x.Text)), url);
|
var newlink = new KeyValuePair<string, string>(string.Join("", spans.Select(x => x.Text)), url);
|
||||||
//foreach (var span in spans)
|
foreach (var span in spans)
|
||||||
//{
|
{
|
||||||
// AttachLink(span, newlink);
|
AttachLink(span, newlink);
|
||||||
//}
|
}
|
||||||
links.Add(new KeyValuePair<string, string>(string.Join("",spans.Select(x => x.Text)), url));
|
links.Add(new KeyValuePair<string, string>(string.Join("",spans.Select(x => x.Text)), url));
|
||||||
return spans;
|
return spans;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue