Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor B.

    (@bandonrandon)

    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

    (@johneckman)

    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.

    (@niklaus-s)

    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

    (@johneckman)

    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.

    (@bandonrandon)

    I updated the bug report on this issue to include th as well so this should be fixed in the next release.
    https://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.