PrestaShop Forums: Bug avec les balises "code" du forum - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


Bug avec les balises "code" du forum


Bug avec les balises "code" du forum

#1 domi77185

    PrestaShop Apprentice

  • 19 Jul 2010
  • Members
  • PipPip
  • 329 posts

Posted 30 August 2010 - 06:17 PM

Je ne comprennais pas pourquoi un code échangé en messagerie privé ne fonctionnait pas chez mon correspondant.

Après recherche, je me suis aperçu que dans la messagerie privé et dans le forum le code est "modifié" et non conforme à ce que l'on envoi.

si par exemple j'écrit :
< i m g src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home')}"

J'ai mis des espaces à "< i m g" afin de ne pas avoir le bug d'interpretation et que vous puissiez voir ce que j'écrit.

Mon correspondant reçoit ce code.
getImageLink($product.link_rewrite, $product.id_image, 'home')}"


Voila,
Pour info...

http://www.aideaunet.com - Modules gratuits pour Prestashop - Informations Wordpress

http://www.evassens.com - Courtier en Voyages et Loisirs. - Devis en ligne gratuit.


PS 1.3.x - PS 1.4.x ◄► Sites réalisés avec la solution Prestashop.

#2

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 30 August 2010 - 06:39 PM

It is not a bug

From 1270698231:

The forums strip all href, img and script tags for security reasons. I get around these problems in my code contributions by changing <a href to &lt;a href, <img src to &lt;img src and <script> to &lt;script>.


Also you can paste code to sites like this one .





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users