From 5209551bb0ead1397756820bfaa9836de6ba561d Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 16 Mar 2025 17:53:24 -0400 Subject: [PATCH] Escape og:title tag --- lib/Config.rakumod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Config.rakumod b/lib/Config.rakumod index 9a612fc..c963369 100644 --- a/lib/Config.rakumod +++ b/lib/Config.rakumod @@ -28,7 +28,7 @@ initComments(\{ # Generate the universal header components generate-head($meta, $post.title, $post.description); # Open graph tags for embedding - meta :property, :content($post.title); + meta :property, :content(^$post.title); meta :property, :content(post-link-abs $db.meta, $id, $post); meta :property, :content($db.meta.title); optl $post.description ~~ Str:D,