Home Forums Community Forum Code comments

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Marie01
    Participant
    Post count: 1

    Hy!
    My problem is:

    If I insert a comment in the code (working with WP-text-editor) in my page appears a line break.
    What does this mean:

    If i write in my code:
    This is text 01
    This is text 02
    … then on my page appears
    This is text 01
    This is text 02

    If i write in my code:
    This is text 01
    <!–comment 01—>
    This is text 02
    … then on my page appears
    This is text 01

    This is text 02

    … and if I look (for example in firefox) the pagesource of the page I find this piece of code (which i never wrote in my editor”
    <p>This is text 01<br />
    <!–comment 01—><br />
    This is text 02</p>

    This is very annoying, and prevents my from proper commenting my code.

    I hope you can help.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.