[POPUP] ~fix error when special chars are used in descrpiptif field v1.3.2
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Sun, 9 Apr 2017 15:19:41 +0000 (17:19 +0200)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Sun, 9 Apr 2017 15:20:30 +0000 (17:20 +0200)
contenu/page-carte_de_sites.html
paquet.xml

index 74a51a3..4b946b0 100755 (executable)
@@ -46,7 +46,7 @@
                <BOUCLE_coord(GIS){id_syndic}>
                      var markerGis = new L.Marker(new L.LatLng(#LAT, #LON), {icon: gisIcon});
                            [(#ENV{popup}|!={non}|oui)
                <BOUCLE_coord(GIS){id_syndic}>
                      var markerGis = new L.Marker(new L.LatLng(#LAT, #LON), {icon: gisIcon});
                            [(#ENV{popup}|!={non}|oui)
-                         markerGis.bindPopup("[(#ENV{images}|!={non}|oui)<span style='float: left; width: 45px;'><img src='[(#LOGO_SYNDIC||extraire_attribut{src}|url_absolue)]' alt='' width='100%' height='100%'></span>]<h4>#TITRE</h4>#DESCRIPTIF[(#ENV{images}|!={non}|oui)<span class='spip_documents spip_documents_right' style='float: right; width: 100px;'>\<img src='[(#LOGO_SYNDIC_SURVOL||extraire_attribut{src}|url_absolue)]' alt=''  width='100px' height='100%'></span>]#ADRESSE<br/> #CODE_POSTAL #VILLE<br/><a href='#URL_SITE' target='_blank'>#NOM_SITE - #URL_SITE</a><br/><br/><em>Statut: [(#_mots_types:TITRE|supprimer_numero)]</em>");
+                         markerGis.bindPopup("[(#ENV{images}|!={non}|oui)<span style='float: left; width: 45px;'><img src='[(#LOGO_SYNDIC||extraire_attribut{src}|url_absolue)]' alt='' width='100%' height='100%'></span>]<h4>#TITRE</h4>[<p>(#DESCRIPTIF|attribut_html)</p>][(#ENV{images}|!={non}|oui)<span class='spip_documents spip_documents_right' style='float: right; width: 100px;'>\<img src='[(#LOGO_SYNDIC_SURVOL||extraire_attribut{src}|url_absolue)]' alt=''  width='100px' height='100%'></span>]#ADRESSE<br/> #CODE_POSTAL #VILLE<br/><a href='#URL_SITE' target='_blank'>#NOM_SITE - #URL_SITE</a><br/><br/><em>Statut: [(#_mots_types:TITRE|supprimer_numero)]</em>");
                      ]
                      group_#ID_MOT.addLayer(markerGis)
                </BOUCLE_coord>
                      ]
                      group_#ID_MOT.addLayer(markerGis)
                </BOUCLE_coord>
index 6344931..470893a 100755 (executable)
@@ -1,7 +1,7 @@
 <paquet
     prefix="carte_de_sites"
     categorie="divers"
 <paquet
     prefix="carte_de_sites"
     categorie="divers"
-    version="1.3.1"
+    version="1.3.2"
     etat="stable"
     compatibilite="[3.0.0;3.1.*]"
     documentation="http://www.wiklou.org/index.php/Inclusion_de_la_carte"
     etat="stable"
     compatibilite="[3.0.0;3.1.*]"
     documentation="http://www.wiklou.org/index.php/Inclusion_de_la_carte"