feat: added tags to post

This commit is contained in:
Leyla Becker 2026-02-19 17:37:55 -06:00
parent 55e67d1e27
commit 2f5bf48b42
2 changed files with 4 additions and 2 deletions

View file

@ -58,7 +58,7 @@ const isReleased = (post) => {
}
const markdownItHashtag = (md) => {
const hashtagRegex = /^#([a-zA-Z][a-zA-Z0-9_\\\\/]*)(?![a-zA-Z0-9_-])/;
const hashtagRegex = /^#([a-zA-Z][a-zA-Z0-9_\\\\/\-]*)(?![a-zA-Z0-9_-])/;
const HASH_CODE = '#'.charCodeAt(0);
const SPACE_CODE = ' '.charCodeAt(0);

View file

@ -920,4 +920,6 @@ You can also use web tools that you can give a URL and it will clean it for you:
</div>
</a>
</div>
</div>
</div>
#privacy #tracking #surveillance #digital-rights #activism #data-collection #security