From 6cff845741c7aaa8e6f1bb4c553d2fab000ca76e Mon Sep 17 00:00:00 2001
From: Olivia Simonet <91660674+Olivia206@users.noreply.github.com>
Date: Thu, 19 Dec 2024 10:46:37 +0100
Subject: [PATCH] Prise en compte du markdown dans les titres de menu (#827)

---
 layouts/partials/commons/menu.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/partials/commons/menu.html b/layouts/partials/commons/menu.html
index 972ea6eb..06d3a7dc 100644
--- a/layouts/partials/commons/menu.html
+++ b/layouts/partials/commons/menu.html
@@ -62,7 +62,7 @@
 
         {{- if ne .kind "blank" -}}
           <a href="{{ .target }}" {{ with $link_class }} class="{{ . }}" {{ end }} {{ safeHTMLAttr $attributes }} {{ safeHTMLAttr $title_attribute }}>
-            {{ .title }}
+            {{ .title | markdownify }}
           </a>
           {{ partial "GetMenuSummary" (dict 
               "summary" $level_options.summary
-- 
GitLab