Hello,
I get a W3C validation error for the comment form token input:
[code type=html4strict]No p element in scope but a p end tag seen.
…="hidden" name="db8da1fdd210fcc58a4b237b947ec645" value="1" /></div></p> </div>[/code]
This happens with the default template.
In default.php, line 154-156 the form token JHTML is echoed:
[code type=php]
<div id="ccomment-token" style="display:none;">
<?php echo JHtml::_('form.token'); ?>
</div>
[/code]
The HTML output is:
[code type=html4strict]
<div id="ccomment-token" style="display:none;">
<input type="hidden" name="06f8e52bd60f1bce8b9f7f5185a5139a" value="1" /></div></p> </div>
[/code]
I would like to eliminate the closing </p> tag here.
Where do I find the function in Joomla core that puts out the form token input? I googled already but couldn't find it.
Sorry, I don't mean to be picky, but my client requires me to have full W3C validation.
- Gerhard Sitzmann
-
- Newbie area
- Tuesday, 11 June 2013
- Subscribe via email
There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now
If you have a valid subscription, please login now.
Visit store now
Last questions
I'll be happy to renew my subscription but can't and won't use Paypal. Do you ...
0 Replies
Posted on Thursday, 02 February 2023
HI,
I'm having an issue where the CB plugin is not writing the data to the ho...
4 Replies
Posted on Thursday, 26 January 2023
I don't know if this is a bug, but the submission form all of a sudden, maybe af...
14 Replies
Posted on Monday, 23 January 2023
- #custom fields
- #submission form,
Just updated to version 7.1.4
Now events do not display correctly. This is on ...
0 Replies
Posted on Wednesday, 01 February 2023
seit ein paar Tagen ist bei mir das ganze Matukio auf englisch.
Ich hab keine A...
5 Replies
Posted on Saturday, 28 January 2023