Fix link targets
This commit is contained in:
parent
6fb1d6c681
commit
1ad8086f31
1 changed files with 2 additions and 1 deletions
|
@ -22,10 +22,11 @@ static
|
|||
return toReturn;
|
||||
}
|
||||
|
||||
public static HTML LybLink(params Span<HTML> children)
|
||||
public static HTML LybLink(StringView target, params Span<HTML> children)
|
||||
{
|
||||
var toReturn = new HTML(params children);
|
||||
toReturn.Name = .("a");
|
||||
toReturn.SetValue("href", target);
|
||||
toReturn.AddClass("lyb-link");
|
||||
return toReturn;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue