mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 22:45:44 +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
|
||||
{
|
||||
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);
|
||||
//foreach (var span in spans)
|
||||
//{
|
||||
// AttachLink(span, newlink);
|
||||
//}
|
||||
var newlink = new KeyValuePair<string, string>(string.Join("", spans.Select(x => x.Text)), url);
|
||||
foreach (var span in spans)
|
||||
{
|
||||
AttachLink(span, newlink);
|
||||
}
|
||||
links.Add(new KeyValuePair<string, string>(string.Join("",spans.Select(x => x.Text)), url));
|
||||
return spans;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue