<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Corriger les espaces lors de l'édition des commentaires, flux du sujet : </title>
  <link>https://www.cowcotland.com</link>
  <description>Le forum officiel</description>
  <language>french</language>
  <copyright>(c) Copyright 2026 by CowcotLand</copyright>
  <managingEditor>Webmaster@cowcotland.com</managingEditor>
  <webMaster>Webmaster@cowcotland.com</webMaster>
  <pubDate>Mercredi 10 Juin 2026 à 06:02:52</pubDate>
  <lastBuildDate>Mercredi 10 Juin 2026 à 06:02:52</lastBuildDate>  
  <generator>CCL</generator>
  <ttl>1</ttl>

  <image>
    <title>CowcotLand</title>
    <url></url>
    <link>https://www.cowcotland.com/</link>
    <description>Le forum officiel</description>
  </image>

                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54696</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre2137.html'&gt;profbioch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mercredi 25 Nov 2009 à 11:26:05&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      6072 lectures à 10:25 ... c'est bien parti pour les 10.000 avant midi ! c'est un record</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54696</comments>
                                        <author>profbioch</author>
                                        <pubDate>Mercredi 25 Nov 2009 à 11:26:05</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54696</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54693</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre7.html'&gt;beubeu&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mercredi 25 Nov 2009 à 10:35:40&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      + de 4000 visiteurs en ligne, je me suis dit &quot;mince, ça buggue depuis que j'ai fait quelques modifs !&quot;&lt;br /&gt;
&lt;br /&gt;
et non, la réponse est dans google news :&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;/modules.php?name=Forums&amp;file=album_showpage&amp;pic_id=1198&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;&lt;img src=&quot;/modules.php?name=Forums&amp;file=album_thumbnail&amp;pic_id=1198&quot; alt=&quot;Image 1198&quot; title=&quot;Image 1198&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
bien joué manti :)</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54693</comments>
                                        <author>beubeu</author>
                                        <pubDate>Mercredi 25 Nov 2009 à 10:35:40</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54693</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54692</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre7.html'&gt;beubeu&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mercredi 25 Nov 2009 à 10:04:10&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      de rien :)&lt;br /&gt;
&lt;br /&gt;
j'ai aussi rajouté le nb de commentaires dans le bloc &quot;toute l'actualité&quot; quand on consulte un news, c'est plus pratique que de repasser par la page d'accueil ^^</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54692</comments>
                                        <author>beubeu</author>
                                        <pubDate>Mercredi 25 Nov 2009 à 10:04:10</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54692</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54691</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre4640.html'&gt;Abyss&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mercredi 25 Nov 2009 à 09:32:17&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Merci !!!! :)</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54691</comments>
                                        <author>Abyss</author>
                                        <pubDate>Mercredi 25 Nov 2009 à 09:32:17</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54691</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54690</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre2137.html'&gt;profbioch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mercredi 25 Nov 2009 à 09:00:42&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;img src=&quot;/modules/Forums/images/smiles/1036947074_gif.gif&quot; alt=&quot;Merci !!!&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54690</comments>
                                        <author>profbioch</author>
                                        <pubDate>Mercredi 25 Nov 2009 à 09:00:42</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54690</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54687</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre7.html'&gt;beubeu&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mardi 24 Nov 2009 à 22:50:37&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      c'est corrigé</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54687</comments>
                                        <author>beubeu</author>
                                        <pubDate>Mardi 24 Nov 2009 à 22:50:37</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54687</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54686</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre2137.html'&gt;profbioch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mardi 24 Nov 2009 à 21:14:52&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      On parle pas le même langage, mais vraiment pas !</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54686</comments>
                                        <author>profbioch</author>
                                        <pubDate>Mardi 24 Nov 2009 à 21:14:52</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54686</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54685</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre4640.html'&gt;Abyss&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mardi 24 Nov 2009 à 21:08:12&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Non du tout, moi je coz routage, filtrage et cisco et autres &lt;img src=&quot;/modules/Forums/images/smiles/icon_biggrin.gif&quot; alt=&quot;Très content&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54685</comments>
                                        <author>Abyss</author>
                                        <pubDate>Mardi 24 Nov 2009 à 21:08:12</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54685</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54677</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre2137.html'&gt;profbioch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mardi 24 Nov 2009 à 17:00:17&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      toi pas parler php ???</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54677</comments>
                                        <author>profbioch</author>
                                        <pubDate>Mardi 24 Nov 2009 à 17:00:17</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54677</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54676</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre4640.html'&gt;Abyss&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mardi 24 Nov 2009 à 16:54:18&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Heu.... ba j'ai pas tout compris, mais bonne chance ! &lt;img src=&quot;/modules/Forums/images/smiles/icon_biggrin.gif&quot; alt=&quot;Très content&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54676</comments>
                                        <author>Abyss</author>
                                        <pubDate>Mardi 24 Nov 2009 à 16:54:18</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54676</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54673</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre2137.html'&gt;profbioch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mardi 24 Nov 2009 à 15:36:47&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      En fait maintenant le mal est fait, si vous changez le code pour &quot;déplacer&quot; la fonction nl2br d'avant l'enregistrement dans la BDD à après la sortie la BDD (pour l'affichage), ce sera pire, tous  les br des messages existants vont etre doublés, pas ceux des futurs messages qui seront correctements édité.&lt;br /&gt;
&lt;br /&gt;
Par contre quand &lt;span style=&quot;font-weight: bold&quot;&gt;on édite un message &lt;/span&gt;on a les br et les retours chariots, suffit de&lt;span style=&quot;font-weight: bold&quot;&gt; ne plus appliquer la fonction nl2br&lt;/span&gt; avant d'enregistrer.</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54673</comments>
                                        <author>profbioch</author>
                                        <pubDate>Mardi 24 Nov 2009 à 15:36:47</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54673</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54672</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre2137.html'&gt;profbioch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mardi 24 Nov 2009 à 15:16:02&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      je viens de vérifier, en effet, quand on laisse un message, les retours chariots sont transformé en &amp;lt; br &amp;gt;, et ensuite enregistré dans la Base De Données. Quand on édite ils apparaissent, en plus des retours chariots qui sont ensuite eux même transformé à nouveau en &amp;lt; br &amp;gt; en plus des autres br.&lt;br /&gt;
&lt;br /&gt;
En fait il faut utiliser la fonction nl2br en sortie de base de données, juste pour l'affichage, ca évite le br en doublons d'une part et d'autre part un retour chariot prend 2 caractères dans la BDD alors que br en prend 4.&lt;br /&gt;
&lt;br /&gt;
[jemelapette]JE SUIS TROPS FORT !!![/jemelapette]</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54672</comments>
                                        <author>profbioch</author>
                                        <pubDate>Mardi 24 Nov 2009 à 15:16:02</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54672</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54671</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre4543.html'&gt;TomZiK&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mardi 24 Nov 2009 à 15:15:45&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Alors oui je pense qu'il parle de ça ! ^^</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54671</comments>
                                        <author>TomZiK</author>
                                        <pubDate>Mardi 24 Nov 2009 à 15:15:45</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54671</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54670</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre1772.html'&gt;Vanseb&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mardi 24 Nov 2009 à 15:11:02&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      En fait, quand on édite, on bascule dans un mode semi-html, pour dire ainsi, où le retour chariot est géré, e,n plus du br.&lt;br /&gt;
Me suis mal exprimé ^^</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54670</comments>
                                        <author>Vanseb</author>
                                        <pubDate>Mardi 24 Nov 2009 à 15:11:02</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54670</guid>
                                      </item>
                                      <item>
                                        <title>Re: Corriger les espaces lors de l'édition des commentaires</title>
                                        <link>https://www.cowcotland.com/topic3943-15.html#54668</link>
                                        <description>&lt;br /&gt;
                                      Auteur: &lt;a href='https://www.cowcotland.com/membre4543.html'&gt;TomZiK&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posté le: Mardi 24 Nov 2009 à 15:08:07&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Non je pense pas que ce soit les retour chariots plutôt les balise &quot;br&quot; qui se &quot;multiplie&quot; lors de l'édition d'un commentaire.</description>
                                        <comments>https://www.cowcotland.com/topic3943-15.html#54668</comments>
                                        <author>TomZiK</author>
                                        <pubDate>Mardi 24 Nov 2009 à 15:08:07</pubDate>
                                        <guid isPermaLink="true">https://www.cowcotland.com/topic3943-15.html#54668</guid>
                                      </item></channel></rss>