Title: Invalid HTML
Last modified: April 15, 2022

---

# Invalid HTML

 *  Resolved [onurkk](https://wordpress.org/support/users/onurkk/)
 * (@onurkk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-html-13/)
 * The error I get in rss is: Invalid HTML: Unexpected end tag (p). Ignored and 
   <content:encoded><![CDATA[<p>[Ufuk Gazetesi](https://www.ufukgazetesi.net)<br/
   >
 * I also get the following error on google news: You haven’t added content to this
   section yet.
 * I need help
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finvalid-html-13%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [christopheran](https://wordpress.org/support/users/christopheran/)
 * (@christopheran)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-html-13/#post-15562221)
 * Hi Onurkk,
 * The Google News Publisher Center can’t process feeds that have that error in 
   them.
 * The error is not related to GN Publisher, it’s something in your html in the 
   body of your article. There may be another plugin that is adding a paragraph(
   p) start or end tag where it doesn’t belong.
 * I just tested and it looks like you either fixed that or the article that the
   error was on has dropped off the feed due to newer articles being added.
 * If it happens again, look at where the RSS validator is saying there is a problem.
   It won’t tell you exactly where the extra p tag is, but if you can tell me what
   article it is pointing at, then I can take a look at that page and tell you where
   the error is. I might not be able to tell you what plugin is causing it, but 
   we should be able to narrow it down so that you can do some testing,
 * Chris
 *  Thread Starter [onurkk](https://wordpress.org/support/users/onurkk/)
 * (@onurkk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-html-13/#post-15562612)
 * It’s probably due to the rank math plugin. But I can’t uninstall the plugin as
   it changes the category structure. When I activate the plugin, “<content:encoding
   ><![CDATA[<p><a rel=”nofollow” is added.
    What do you think I should do?
    -  This reply was modified 4 years, 1 month ago by [onurkk](https://wordpress.org/support/users/onurkk/).
    -  This reply was modified 4 years, 1 month ago by [onurkk](https://wordpress.org/support/users/onurkk/).
 *  Thread Starter [onurkk](https://wordpress.org/support/users/onurkk/)
 * (@onurkk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-html-13/#post-15562638)
 * For example, at this link [https://www.ufukgazetesi.net/gokce-kirgiz-sandiktakilerden-ask-uykusu-dedi.html](https://www.ufukgazetesi.net/gokce-kirgiz-sandiktakilerden-ask-uykusu-dedi.html)
   Rss validator shows error when I disable rank math. Error message if rank math
   is enabled: <content:encoded><![CDATA[<p><a rel=”nofollow”‘
    -  This reply was modified 4 years, 1 month ago by [onurkk](https://wordpress.org/support/users/onurkk/).
    -  This reply was modified 4 years, 1 month ago by [onurkk](https://wordpress.org/support/users/onurkk/).
 *  [christopheran](https://wordpress.org/support/users/christopheran/)
 * (@christopheran)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-html-13/#post-15562804)
 * Okay, I see an example now.
 * I don’t think this is related to MathRank.
 * If you look at:
 * view-source:[https://www.ufukgazetesi.net/gokce-kirgiz-sandiktakilerden-ask-uykusu-dedi.html](https://www.ufukgazetesi.net/gokce-kirgiz-sandiktakilerden-ask-uykusu-dedi.html)
 * (I can’t get that link to view-source to work, copy the whole line above and 
   paste it in the your browsers url bar)
 * On line 1170 (that might change if you have some dynamic content), right after
   the adsense ad, there is a ending </p> tag that doesn’t have a start <p> tag.
 * Then a couple of lines down from that (currently 1173) there are seven ending
   </p> tags in a row: </p></p></p></p></p></p></p>
 * I don’t know what plugin/theme or functions.php code might be adding that in,
   but that’s what is causing the RSS validation error, perhaps some code or plugin
   that’s related to the adsense ads would be my first guess since it’s next to 
   the adsense code insertion,
 * Chris
    -  This reply was modified 4 years, 1 month ago by [christopheran](https://wordpress.org/support/users/christopheran/).
    -  This reply was modified 4 years, 1 month ago by [christopheran](https://wordpress.org/support/users/christopheran/).
    -  This reply was modified 4 years, 1 month ago by [christopheran](https://wordpress.org/support/users/christopheran/).
 *  Thread Starter [onurkk](https://wordpress.org/support/users/onurkk/)
 * (@onurkk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-html-13/#post-15563493)
 * Hi, I re-edited the .htaccess file and the problem went away.I guess it was a
   temporary solution, I started getting the same error again.
 * I disabled all plugins, removed adsense codes, but the problem is not solved.
   I guess .htaccess is a coincidence.
 *  Thank you for your interest
    -  This reply was modified 4 years, 1 month ago by [onurkk](https://wordpress.org/support/users/onurkk/).
    -  This reply was modified 4 years, 1 month ago by [onurkk](https://wordpress.org/support/users/onurkk/).
 *  [christopheran](https://wordpress.org/support/users/christopheran/)
 * (@christopheran)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-html-13/#post-15563991)
 * Yeh, I’m not sure how editing .htaccess would fix this, right now the end p tags
   are still there. The feed in the Publisher Center may have started working if
   the articles with the extra p end tags dropped off the feed due to newer articles
   being added,
 * Chris
 *  Thread Starter [onurkk](https://wordpress.org/support/users/onurkk/)
 * (@onurkk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-html-13/#post-15564058)
 * I found the problem, some of the news comes via rss via cyber seo plugin. There
   is a problem with news uploaded via this plugin. I think I can pull my news using
   another plugin. Any idea about such a plugin?
 *  [christopheran](https://wordpress.org/support/users/christopheran/)
 * (@christopheran)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-html-13/#post-15564105)
 * Sorry, I don’t have any familiarity with that type of plugin,
 * Chris

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Invalid HTML’ is closed to new replies.

 * ![](https://ps.w.org/gn-publisher/assets/icon-256x256.png?rev=2782289)
 * [GN Publisher: Google News Compatible RSS Feeds](https://wordpress.org/plugins/gn-publisher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gn-publisher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gn-publisher/)
 * [Active Topics](https://wordpress.org/support/plugin/gn-publisher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gn-publisher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gn-publisher/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [christopheran](https://wordpress.org/support/users/christopheran/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-html-13/#post-15564105)
 * Status: resolved