Update of /home/spip-cvs/spip/ecrire
In directory miel:/tmp/cvs-serv3399
Modified Files:
inc_texte.php3
Log Message:
Corrige bug sur notes de bas de page
Index: inc_texte.php3
RCS file: /home/spip-cvs/spip/ecrire/inc_texte.php3,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
— inc_texte.php3 25 Sep 2003 00:49:30 -0000 1.166
+++ inc_texte.php3 25 Sep 2003 11:44:05 -0000 1.167
@@ -657,8 +657,8 @@
if ($marqueur_notes) // ???
$mn = $marqueur_notes.'-';
$ancre = $mn.urlencode($num_note);
- $insert = "$ouvre_ref<a href='#nb$ancre' name='nh$ancre' class='spip_note'>$num_note</a>$ferme_ref";
- $appel = "<html>$ouvre_note<a href='#nh$ancre' name='nb$ancre' class='spip_note'>$num_note</a>$ferme_note</html>";
+ $insert = "$ouvre_ref<a href=\"#nb$ancre\" name=\"nh$ancre\" class=\"spip_note\">$num_note</a>$ferme_ref";
+ $appel = "<html>$ouvre_note<a href=\"#nh$ancre\" name=\"nb$ancre\" class=\"spip_note\">$num_note</a>$ferme_note</html>";
} else {
$insert = '';
$appel = '';