How do I add linebreak in a comment

Help
bngobngo
2012-06-27
2013-04-24
  • bngobngo
    bngobngo
    2012-06-27

    Hi
    I'm trying to add linebreak's to a text output using addComment.

    To make the newlines in PHP I have tried both "/n" and "
"

    Nothing seem to work…
    if I use "\n" then these characters are not visible, but no linebreak in the comment.
    If I use "
" then the 
 are output in plain text.

    Is it not possible to make newlines work in a comment?

     
  • primordius
    primordius
    2012-06-28

    I've never tried to use lb in comments.
    Will check it and let u know.

     
  • bngobngo
    bngobngo
    2012-07-05

    Hi..
    Did you find out if this is possible?

     
  • primordius
    primordius
    2012-07-07

    It is definitely possible.
    problem is that in my class i encode the comment with HTMLSPECIALCHARS to avoid xml errors.
    i'll fix this, today hopefully

     
  • primordius
    primordius
    2012-07-07

    Fixed.
    I uploaded 1.3 with that fix

     
  • bngobngo
    bngobngo
    2012-07-07

    Nice!
    Much appreciated :)