![]() |
|
how to write html sting in a new ? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: how to write html sting in a new ? (/thread-9890.html) |
how to write html sting in a new ? - vincent3569 - 2012-04-23 hi on my web site, I wrote a description page for zpBoostrap. http://www.vincentbourganel.fr/pages/zpbootstrap-1.4.2 at the end of this page, I add a 'how to' write responsive pictures in news and pages this site is with zenphoto 1.4.2.2 and it's work fine the same page is on zpBootstrap demo site. http://bootstrap.vincentbourganel.fr/pages/zpbootstrap-1.4.2 this site is with zenphoto 1.4.2.3 and it doesn't not work : `[img]the_path_to_your_image[/img]` is filtered. how can I do to write this html code in my news and pages ? how to write html sting in a new ? - vincent3569 - 2012-04-25 hi I saw no response for my question. with 1.4.2.3, some special chars (like html chars or html strings) seem to be filtered in news and pages. it's works fine with 1.4.2.2. what the problem is and what can I do to write litteral html code in my news and pages ? how to write html sting in a new ? - acrylian - 2012-04-25 You have to use the html code view on TinyMCE write html or any other code. Otherwise it gets encoded as text naturally (btw, that was that way since for ever). how to write html sting in a new ? - vincent3569 - 2012-04-25 of course, I tried to edit the htmlcode with the following text : `&-l-t-;img class="remove-attributes" src="the_path_to_your_image" alt="" /&-g-t-;` (whitout the '-') when I close the html pop-up, I can see the correct code `[img]the_path_to_your_image[/img]` but after validation, icon of unknown picture is displayed : the test is interpreted as true HTML code (wich describe a picture) how to write html sting in a new ? - vincent3569 - 2012-04-25 maybe I found a workaround : I set a blank space between '<' and 'img', and with that the text is not interpreted. Sometimes, what a headache...and again, it works well on 1.4.2.2 (without blank space) : you can seen it in action by following the 2 links above how to write html sting in a new ? - acrylian - 2012-04-25 OK, that is the bug fixed in the nightly. Some encoding was overly active. See also: http://www.zenphoto.org/support/topic.php?id=10823#post-63351 |