• When someone uses html like an em tag or a blockquote tag in my word press comments it will sometimes break the rest of the site. Basically it doesn’t close the tag.. (even if it is closed) I know if happens for sure if someone uses a blockquote at the beginning of a comment. Also line breaks all seem to run together in comments. Anybody know why this might be happening? http://www.chrisvschris.com is the blog

Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you point to a specific post on which this occurs?

    Thread Starter sithicus

    (@sithicus)

    On the front page. On the right hand side is the last 10 comments. You can see the the second to last comment causes the whole site to be ed

    Thread Starter sithicus

    (@sithicus)

    em’ed even

    Thread Starter sithicus

    (@sithicus)

    Here is the code:

    <li class="christopher_comment" id="comment-1434">
    <div class="comment">
    <div class="gravatar-wrap"><img src="http://www.gravatar.com/avatar.php?gravatar_id=6fb1850b952597d2784d25636fd9ec7b&amp;size=40" alt="" class="gravatar" />
    </div>
    <div class="comment-posted">
    <h3 class="commentauthor"><a href='http://' rel='external nofollow'>Christopher</a> commented:
    </h3>
    <p class="comment-link"><a href="#comment-1434" title="">September 1st, 2005 at 4:44 am</a> <a href='http://www.chrisvschris.com/wp/wp-admin/post.php?action=editcomment&amp;comment=1434'>edit</a> </p>
    </div>
    <div class="comment-text">
    <p>
    <p><em>It was mostly copying word for word. Not a commentary.</em>
    </p></p>
    </div>
    </div>
    </li>

    Somehow this comment breaks the whole site.

    Looks to me like the problem is that the sidebar is only including the first so many words or characters of the comment, so the closing </em> isn’t included.

    Thread Starter sithicus

    (@sithicus)

    ahh good point. anybody got any thoughts on how I might fix this? these is probaby a compliated way to write a script that closes any html that is open eh?

    Thread Starter sithicus

    (@sithicus)

    I’m using Comment Analysis plugin.. maybe there would be a way to strip html from the output?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘HTML Causing Issues in Comments’ is closed to new replies.