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])); } },