Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

W3c Validation

7 years 1 month ago
  • Pierre's Avatar
    Topic Author
  • Pierre
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Active

I have a error when I try to validate the w3c of my community.
Here Is the Error:

Error: No p element in scope but a p end tag seen.
From line 22, column 9876; to line 22, column 9879
div></div></p></div>

For every new post on the Jomsocial wall , There is an extra </p>
added to the page code. I am unable to find out where its from. Can someone help^

the w3c link W3C link
https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.hl7community.org%2F

7 years 1 month ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Pierre,

that error is coming from 3rd stream from blog post.. please you contact to that blog component developer

thank you!

7 years 1 month ago
  • Pierre's Avatar
    Topic Author
  • Pierre
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Active

After a long way of troubleshoot on this issue, it seems like the main issue is not there is extra <p> tag in the html, but :


That's because there have nested blocks element inside the p tag which is invalid. Inside p tag, it only can nest inline elements such as span, a and img. So the markup is invalid


And seems like the invalid markup is come from Jomsocial :( in the file:
/public_html/components/com_community emplates/jomsocial/layouts/stream/base-extended.php
Line 84 www.screencast.com/t/DLqyBs14qs
I've remove the code and clear the cache
Seems the w3 validator validator.w3.org/nu/?doc=http%3A%2F%2Fwww.hl7community.org%2F did not shows the error anymore.
Perhaps, can you consult with Jomsocial, is it the data-type="stream-content" do any ajax call, because as I look on the layout it doesn't effected.

reference: stackoverflow.com/questions/21084870/no-...-seen-w3c-validation

7 years 3 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

I checked your link, and show like this.. this is just warning and not coming from Jomsocial

Attachment not found



Let we continue this issue into this new support system www.jomsocial.com/submit-support

thank you!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW