From cb6e666a6ede72d1bdfd141ee41d944cea38bf6b Mon Sep 17 00:00:00 2001 From: august kline Date: Mon, 6 Jan 2025 19:15:11 -0500 Subject: [PATCH] Fix quotes escaping img alt attrs --- server/src/server/routes/api/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/server/routes/api/editor.rs b/server/src/server/routes/api/editor.rs index b83e7c9..3ecd577 100644 --- a/server/src/server/routes/api/editor.rs +++ b/server/src/server/routes/api/editor.rs @@ -102,7 +102,7 @@ impl Block { ] .concat(), Block::image { file, caption } => { - ["\"","].concat() + ["\"",", ""), "\"/>"].concat() } Block::delimiter {} => "
".to_string(),