From 49269d8821e9a16f0b2bcff2c85bb7bcff8d75f0 Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Wed, 11 Dec 2024 10:26:21 +0100 Subject: [PATCH] Improve view of articles --- src/lib/components/ArticleView.svelte | 5 ++- src/lib/summaries.ts | 48 +++++++++++++++------------ 2 files changed, 31 insertions(+), 22 deletions(-) diff --git a/src/lib/components/ArticleView.svelte b/src/lib/components/ArticleView.svelte index a4a52e6..af59f48 100644 --- a/src/lib/components/ArticleView.svelte +++ b/src/lib/components/ArticleView.svelte @@ -24,7 +24,10 @@ {/if} -{@html article.BLOC_TEXTUEL?.CONTENU} +{@html article.BLOC_TEXTUEL?.CONTENU.replaceAll("<<", "«").replaceAll( + ">>", + "»", +)} {#if ciblesCreation.length > 0}