mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-28 12:57:31 -07:00
[backend] Format urls in outgoing AP messages properly
This commit is contained in:
parent
19f8c0aafc
commit
8c93f7eb68
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ export function toHtml(
|
|||
url(node) {
|
||||
const a = doc.createElement("a");
|
||||
a.href = node.props.url;
|
||||
a.textContent = node.props.url;
|
||||
a.textContent = node.props.url.replace(/^https?:\/\//, '');
|
||||
return a;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue