From 4e3fcad7091d8857e98a32008ce628875c1c010e Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 14 Jul 2025 10:51:09 -0700 Subject: [PATCH] ui/note: show full link type in unhandled mentions Signed-off-by: William Casarin --- crates/notedeck_ui/src/note/contents.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/notedeck_ui/src/note/contents.rs b/crates/notedeck_ui/src/note/contents.rs index e68f1a5a..f070a8b8 100644 --- a/crates/notedeck_ui/src/note/contents.rs +++ b/crates/notedeck_ui/src/note/contents.rs @@ -192,7 +192,7 @@ pub fn render_note_contents( } _ => { - ui.colored_label(link_color, format!("@{}", &block.as_str()[4..16])); + ui.colored_label(link_color, format!("@{}", &block.as_str()[..16])); } },