From 96e0f987d5b17727c62f2e742891f277bc539c6e Mon Sep 17 00:00:00 2001 From: Raphael Marichez Date: Sun, 19 Dec 2004 02:21:03 +0000 Subject: [PATCH] avoids error "non SGML character" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit avoids error "non SGML character" when title of an event contains an ' (e.g. "Recherche de Familles d’accueil pour étudiants (...)") git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-109 --- templates/login.tpl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/login.tpl b/templates/login.tpl index 2b903ee..9359b6a 100644 --- a/templates/login.tpl +++ b/templates/login.tpl @@ -85,12 +85,17 @@ - +
{$ev.titre|nl2br} + + {tidy} + {$ev.titre|nl2br} + {/tidy} +
{tidy} - {$ev.texte|smarty:nodefaults|nl2br} + {$ev.texte|smarty:nodefaults|nl2br} {/tidy}

Annonce proposée par -- 2.1.4