• Hello Jan,

    I ran into another issue and hope you can help.

    I use a simple comment rating plugin (Comment Like Dislike) on my site together with WP Ajaxify Comments.

    Usually, it looks like this:

    View post on imgur.com

    But when there’s an AJAX action performed by your plugin (new comment posted or go to page 2 of the comments), then it looks like this:

    View post on imgur.com

    And when I examine the source code, then I can see that a “<br>” tag has been added all over sudden.

    Code before:

    View post on imgur.com

    Code after:

    View post on imgur.com

    When I refresh the page by pressing F5, the “<br>” tags are gone again and everything looks normal.

    You can test it for yourself here:
    https://mydivision.net/2016/03/gewinnspiel-release-the-division/
    (This is an old post that has enough comments for an active pagination. So just go to page 2 for the comments, and you’ll see what I’m talking about.)

    Do you have an idea what causes this problem?
    It does not occur, when WP Ajaxify Comments is disabled.
    Please help!

    Thanks
    Nils

    Edit:
    I did a quick and dirty fix by adding
    .cld-common-wrap br {display: none !important;}
    to my theme’s CSS.

    But you can still see it in the source code.

    • This topic was modified 6 years, 4 months ago by jackennils.
    • This topic was modified 6 years, 4 months ago by jackennils.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Line break added after AJAX action’ is closed to new replies.