From ee2a337dada9b5ec45f0a4ae8349fd19eea8b409 Mon Sep 17 00:00:00 2001 From: Dominik Kundel Date: Fri, 8 Aug 2025 17:54:48 -0700 Subject: [PATCH] Fix formatting --- src/encoding.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/encoding.rs b/src/encoding.rs index d57f8ec..74bd768 100644 --- a/src/encoding.rs +++ b/src/encoding.rs @@ -836,7 +836,9 @@ impl Render for HarmonyEncoding { // finally content type if let Some(content_type) = &message.content_type { // <|constrain|> is a unique case which needs to be tokenized as a special token - if let Some(constrain_marker) = self.mapped_format_token(FormattingToken::ConstrainedFormat) { + if let Some(constrain_marker) = + self.mapped_format_token(FormattingToken::ConstrainedFormat) + { if content_type.starts_with(constrain_marker) { // Render the space, then the constrain marker as a special token, then the rest as text (if any) self.render_text_into(" ", into)?;