Profile / Thread styles

This commit is contained in:
2023-07-24 15:30:21 +01:00
parent d292e658fc
commit 076d5d8cd5
67 changed files with 684 additions and 602 deletions

View File

@ -43,9 +43,7 @@ export class EventBuilder {
*/
processContent() {
if (this.#content) {
this.#content = this.#content.replace(MentionNostrEntityRegex, m =>
this.#replaceMention(m)
);
this.#content = this.#content.replace(MentionNostrEntityRegex, m => this.#replaceMention(m));
const hashTags = [...this.#content.matchAll(HashtagRegex)];
hashTags.map(hashTag => {