[dokuwiki] Re: AW: Re: handling large tables

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 17 Oct 2006 14:38:07 +0100

Werner Flamme wrote:


When writing, I looked at the samples on http://www.mediawiki.org/wiki/Help:Tables and they all worked and showed up as valid XHTML :-) - though Validome and W3c complain that <table> is not allowed at this part of text ("document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag."). I do not see the reason for this complaint :-(

Maybe you have a look at the code and find the error at one?

Hi Werner,

I haven't looked at your plugin, but that error looks very like the <table> element is being placed within a <p> element[1], which implies to me that you are using a pType of "normal". Change that to "block" and it should go away.

Cheers,

Chris

[1] <p> elements may only contain elements which are naturally inline (ie. default to display:inline), not elements of other types, e.g, block, table, etc.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: