Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix invalid HTML in Twitter widget #6209
Pull Request for Issue # N/A
When using Kunena discuss on my websites, I noticed that when there was a discussion, the layout of the template was 'corrupted' (sidebar showing up below kunena discuss content instead of as sidebar).
As it turned out, the widget that renders the tweet misses a closing div, rendering the HTML invalid. I have a plugin that do a complete DOM saveHTML on the page before it is displayed. This 'fixes' broken HTML, but in this case the fix was not good as it corrupted the page.
Fixing the twitter widget layout solved the issue :)
Summary of Changes
Fixing layout of both crypsis and crypsysb3 bbcode twitter widget layout
create adiscussion with a link to a tweet in it. The discussion should render as before (but now passing HTML validation)