ssb: Make #hashtags direct to channels.

This commit is contained in:
2024-12-01 15:32:35 -05:00
parent effb354d1b
commit 7e7b1c6ee1
4 changed files with 6 additions and 6 deletions

View File

@ -18,7 +18,7 @@ class TfTagElement extends LitElement {
render() {
let number = this.count ? html` (${this.count})` : undefined;
return html`<a
href="#q=${this.tag}"
href=${'#' + encodeURIComponent(this.tag)}
style="display: inline-block; margin: 3px; border: 1px solid black; background-color: #444; padding: 4px; border-radius: 3px"
>${this.tag}${number}</a
>`;