update navigation bar

This commit is contained in:
Ren Amamiya
2023-05-07 17:13:31 +07:00
parent 7a10d6a3d9
commit b7addfccfb
11 changed files with 70 additions and 19 deletions

View File

@@ -35,7 +35,7 @@ export const noteParser = (event: Event) => {
// map hashtag to em
content.original.match(/#(\w+)(?!:\/\/)/g)?.forEach((item) => {
content.parsed = content.parsed.replace(item, `[${item}](https://primal.net/search/${item})`);
content.parsed = content.parsed.replace(item, ` [${item}](https://primal.net/search/${item})`);
});
// handle nostr mention