how to write html sting in a new ?

vincent3569 Member, Translator
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 :
`image` is filtered.

how can I do to write this html code in my news and pages ?

Comments

  • vincent3569 Member, Translator
    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 ?
  • acrylian Administrator, Developer
    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).
  • vincent3569 Member, Translator
    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
    ``

    but after validation, icon of unknown picture is displayed : the test is interpreted as true HTML code (wich describe a picture)
  • vincent3569 Member, Translator
    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
  • acrylian Administrator, Developer
    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
Sign In or Register to comment.