On Jun 15, 9:21 pm, David <[email protected]> wrote: > The comment form doesn't pass HTML markup > validation. ... How do I fix that? > > You can see them here:http://david.dlma.com/habari/internet-security
The validation errors: http://validator.w3.org/check?uri=http%3A%2F%2Fdavid.dlma.com%2Fhabari%2Finternet-security&charset=%28detect+automatically%29&doctype=Inline&group=0 I don't know PHP, so I get lost. Here's what happens: my theme calls $post->comment_form()->out(). That evidently comes from system/classes/post.php, where comment_form() creates a FormUI( 'comment-'. $context, 'comment' ) and sets parameters on it, then returns it. So now we're looking to see what that particular FormUI's out() method prints. I think that comes from system/classes/formui.php, and what it does is echo out the results of calling $this->get() on each of the args from func_get_args(). At that point it gets hard for me to follow. All I want is for my comment form's "hidden" and "submit" elements to properly close themselves so my pages can pass HTML markup validation. Anybody have any suggestions? Thanks, --David -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-users
