Forcing CRs between comments

2012-10-29
2012-11-13
  • Laurence Lombard

    To aid readability and tidyness I separate sections of code with comments such as this:

    <!- END LEFTSIDE == ->
    <!- START RIGHTSIDE == ->
    but it ends up looking like this:

    <!- END LEFTSIDE == -><!- START RIGHTSIDE == ->

    my workaround to date as been to add a <br> like this
    <!- END LEFTSIDE == -><br>
    <!- START RIGHTSIDE == ->

    which does work. Is this the best way to achieve the desired result?
    Thanks

     
  • Loreia2

    Loreia2 - 2012-10-29

    Hi laurence62 ,

    in HTML "new line" is achieved by adding <br>, so you are doing it right.

    Thank you and best regards,
    Loreia

     

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

Sign up for the SourceForge newsletter:





No, thanks