Title: [Plugin: WPBook] [thead] lost
Last modified: August 19, 2016

---

# [Plugin: WPBook] [thead] lost

 *  [Niklaus S.](https://wordpress.org/support/users/niklaus-s/)
 * (@niklaus-s)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-thead-lost/)
 * Seems like there is a small problem with [thead] in fbml mode:
    The content of[
   thead] is moved outside of the table. Inside the table, instead of [thead] there
   is an additional [tbody], which is empty.
 * E.g. compare [http://www.facebook.com/apps/application.php?id=143664562335493](http://www.facebook.com/apps/application.php?id=143664562335493)(
   FBML mode) with [http://www.mobile-tagging-buch.de/2010/09/05/lesesoftware-fur-qr-codes-und-microsoft-tag/](http://www.mobile-tagging-buch.de/2010/09/05/lesesoftware-fur-qr-codes-und-microsoft-tag/).

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

 *  Plugin Contributor [B.](https://wordpress.org/support/users/bandonrandon/)
 * (@bandonrandon)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-thead-lost/#post-1659348)
 * Due to FBML being so picky we end up stripping out a lot of tags such as embed
   code and apparently some of your table code. I don’t think there is much that
   can be done until Facebook enables iframe view for tabs (it’s in their roadmap)
   For now, I guess all I can say is sorry for the inconvenience.
 * John, the lead developer may pitch in with some more thoughts but this is what
   I’ve learned from my experience.
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-thead-lost/#post-1659561)
 * In order to output FBML we have to strip some tags from HTML.
 * This is done through the $wpbook_allowed array created at lines 77-117 of wpbook/
   theme/index.php (in the current version – probably something we should move out
   to an include).
 * This is then used in line 123: `echo wp_kses($content,$wpbook_allowed);`
 * Looks like we’ve got table, tbody, tr, and td but not thead – so I will need 
   to add that tag (and its attributes) to the allowed tags.
 *  Thread Starter [Niklaus S.](https://wordpress.org/support/users/niklaus-s/)
 * (@niklaus-s)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-thead-lost/#post-1659596)
 * Thanks for the update, thead now works fine.
    It seems th needs an extra entry,
   as th tags are still removed. Would it be possible to also add th to the allowed
   tag list?
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-thead-lost/#post-1659597)
 * I did add thead in 2.0.9.2, will add th in the next release.
 * Just added it in trunk, will be part of next time I do a release.
 *  Plugin Contributor [B.](https://wordpress.org/support/users/bandonrandon/)
 * (@bandonrandon)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-thead-lost/#post-1659598)
 * I updated the bug report on this issue to include `th` as well so this should
   be fixed in the next release.
    [http://bugs.wpbook.net/view.php?id=18](http://bugs.wpbook.net/view.php?id=18)

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

The topic ‘[Plugin: WPBook] [thead] lost’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpbook_eeeeee.svg)
 * [WPBook](https://wordpress.org/plugins/wpbook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpbook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpbook/)
 * [Active Topics](https://wordpress.org/support/plugin/wpbook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpbook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpbook/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [B.](https://wordpress.org/support/users/bandonrandon/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-thead-lost/#post-1659598)
 * Status: not resolved