By kjshaw on
Hi,
Why are these tags appearing in the Comment field of the comment form?:
<html><head></head><body /></html>
and how do I get rid of them?
Thanks!
Kevin
Hi,
Why are these tags appearing in the Comment field of the comment form?:
<html><head></head><body /></html>
and how do I get rid of them?
Thanks!
Kevin
Comments
---
all comments ? one comment ?
any chance you can post a link to your site so we can investigate ?
All new comments, blog, forum, story, whatever
These tags show up in the otherwise empty "Comment:" field on the comment form after clicking "add new comment".
This seems to be new. I have another site running off the same codebase (seperate db) that does not put these tags in every comment. I've been mucking around with HTMLArea trying to hide it. These started showing up tonight after I hid HTMLArea on the comment form.
Current HTMLArea settings:
The two sites are set up exactly the same. One displays the behavior, one does not. Too wierd.
Found it
It was vestigial HTML from HTMLArea popping up in my account>>edit>> Signature.
It seems that if you save a form with HTMLArea enabled (regardless of whether you added any text), then disable HTMLArea, the "base code" remains in the field. It left these wrapper tags in my signature which was then appended to my comments.
Cripes!
Any solution yet?
Any solution yet?
Akany, I've switched to
Akany,
I've switched to TinyMCE and and using php for visibility. Here's some example code for v4.7.6:
Set to "Show only if..." and you can add to the lists for exactly which types of content you want to add and edit with the WYSIWYG editor.