[frontend/mfm] Fix HTML rendering of link nodes
This commit is contained in:
parent
d4a24be837
commit
c032f56d37
1 changed files with 2 additions and 1 deletions
|
@ -151,6 +151,7 @@ public static partial class MfmRenderer
|
||||||
el.SetAttribute("href", node.Url);
|
el.SetAttribute("href", node.Url);
|
||||||
el.SetAttribute("target", "_blank");
|
el.SetAttribute("target", "_blank");
|
||||||
el.ClassName = "link-node";
|
el.ClassName = "link-node";
|
||||||
|
el.TextContent = node.Text;
|
||||||
return el;
|
return el;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue