mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
[backend] Format urls in outgoing AP messages properly
This commit is contained in:
parent
19f8c0aafc
commit
8c93f7eb68
@ -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 New Issue
Block a user