From a45a856e6a20d78995fa3a50f8161d25148e40d3 Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 8 Nov 2022 11:45:10 +0300 Subject: templates: ellipsize u-in-reply-to to 48, not 24 --- kittybox-rs/templates/src/mf2.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kittybox-rs/templates/src/mf2.rs b/kittybox-rs/templates/src/mf2.rs index 41cd6cc..67d1f87 100644 --- a/kittybox-rs/templates/src/mf2.rs +++ b/kittybox-rs/templates/src/mf2.rs @@ -126,7 +126,7 @@ markup::define! { @if let Some(ctx) = ctx.as_str() { li { a."u-in-reply-to"[href=ctx] { - @ctx.truncate_ellipse(24).as_ref() + @ctx.truncate_ellipse(48).as_ref() } } } else if let Some(ctx) = ctx.as_object() { @@ -138,7 +138,7 @@ markup::define! { @ctx["properties"]["uid"][0] .as_str() .unwrap_or_else(|| ctx["properties"]["url"][0].as_str().unwrap()) - .truncate_ellipse(24) + .truncate_ellipse(48) .as_ref() } } -- cgit 1.4.1