From b2d23b7c4cd37a9e64f5528190d76f4f8966c185 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 4 Jul 2024 04:42:34 +0200 Subject: [PATCH] fix(web): multiple mentions should not nest --- web/src/objects/item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/objects/item.rs b/web/src/objects/item.rs index 5b3921b..61e4699 100644 --- a/web/src/objects/item.rs +++ b/web/src/objects/item.rs @@ -7,7 +7,7 @@ use crate::prelude::*; use apb::{field::OptionalString, target::Addressed, ActivityMut, Base, Collection, CollectionMut, Object, ObjectMut}; lazy_static::lazy_static! { - static ref REGEX: Regex = regex::Regex::new("@(\\w+)(@\\w+|)").expect("failed compiling @ regex"); + static ref REGEX: Regex = regex::Regex::new("@(\\w+)(@\\w+|)").expect("failed compiling @ regex"); } #[component]