How do I add linebreak in a comment

  • bngobngo

    bngobngo - 2012-06-27

    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

    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

    I uploaded 1.3 with that fix

  • bngobngo

    bngobngo - 2012-07-07

    Much appreciated :)


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks