mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 07:25:12 +00:00
fixed the search url
This commit is contained in:
parent
4893efae0f
commit
145c4ba132
1 changed files with 142 additions and 142 deletions
|
@ -637,7 +637,7 @@ export class MfmService {
|
|||
|
||||
search: (node) => {
|
||||
const a = doc.createElement('a');
|
||||
a.setAttribute('href', `https"google.com/${node.props.query}`);
|
||||
a.setAttribute('href', `https://www.google.com/search?q=${node.props.query}`);
|
||||
a.textContent = node.props.content;
|
||||
return a;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue