Hello,
I get a W3C validation error for the comment form token input:
No p element in scope but a p end tag seen.
…="hidden" name="db8da1fdd210fcc58a4b237b947ec645" value="1" /></div></p> </div>
This happens with the default template.
In default.php, line 154-156 the form token JHTML is echoed:
<div id="ccomment-token" style="display:none;">
<?php echo JHtml::_('form.token'); ?>
</div>
The HTML output is:
<div id="ccomment-token" style="display:none;">
<input type="hidden" name="06f8e52bd60f1bce8b9f7f5185a5139a" value="1" /></div></p> </div>
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.