From 922986c5efffecc8208ad6ca7641adb1f6d7befb Mon Sep 17 00:00:00 2001 From: brunob Date: Tue, 16 Jul 2019 14:51:56 +0200 Subject: [PATCH] =?UTF-8?q?d=C3=A9coder=20les=20entit=C3=A9s=20html=20du?= =?UTF-8?q?=20sujet=20des=20emails=20avant=20envoi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit devrait enfin régler pour de bon seenthis/seenthis_squelettes#211 --- seenthis_pipelines.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seenthis_pipelines.php b/seenthis_pipelines.php index 6277467..e956343 100644 --- a/seenthis_pipelines.php +++ b/seenthis_pipelines.php @@ -21,5 +21,7 @@ function seenthis_facteur_pre_envoi($facteur){ // focer les mails au format txt $facteur->ContentType = 'text/plain'; $facteur->AltBody = ''; + // décoder les entités html du sujet (insérées par typo_guillemets dans post_typo par exemple) + $facteur->Subject = html_entity_decode($facteur->Subject, ENT_QUOTES, $facteur->CharSet); return $facteur; }