HTML code in image description

svn1734
Up to now I've used basic HTML <i><b><u> within the description without the <> turning into > etc. What's happening?
Also, can I use <br> or (not sure which) to force break in line? I'm also not able to do a carriage (paragraph) return for the first time.

Comments

  • acrylian Administrator, Developer
    That is true and my "fault". I made recently a `printCustomImagedata()` function where you can use normal line breaks without using html as in those desc functions to accompany `getCustomImageData()`. For that I used the `printImageDesc()`/printIAlbumDesc()` function and found a minor error in the code of those that I actually just corrected... That was in svn 1711. To get the old way back you just need to replace `printImageDesc()` with `echo getImageDesc()` in your theme files and html markup works again. Same for the albumdesc. Sorry for the inconvenience.
  • Thanks. I was betting you'd say I didn't close my tags <ha, ha>

    my code in image.php is
    `<?php printImageDesc(true); ?>`

    replace with
    `<?php echo getImageDesc(); ?>` resulted in description not being editable at all. Went back to older files and see the printImageDesc in use.
  • acrylian Administrator, Developer
    True, `getImageDesc()` is not editiable on the go (and never was)... I will look at those functions again, maybe my error correction in `printImagedesc()`was nonsense at all..:-)

    EDIT: It has been reverted to the old funcionality in svn 1753
Sign In or Register to comment.