From: <var...@us...> - 2010-11-09 12:47:24
|
Revision: 7731 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7731&view=rev Author: vargenau Date: 2010-11-09 12:47:18 +0000 (Tue, 09 Nov 2010) Log Message: ----------- Add "scope" as possible attribute Modified Paths: -------------- trunk/lib/plugin/MediawikiTable.php Modified: trunk/lib/plugin/MediawikiTable.php =================================================================== --- trunk/lib/plugin/MediawikiTable.php 2010-11-08 14:48:23 UTC (rev 7730) +++ trunk/lib/plugin/MediawikiTable.php 2010-11-09 12:47:18 UTC (rev 7731) @@ -213,7 +213,7 @@ if (($pospipe !== false) && (($posbracket === false) || ($posbracket > $pospipe)) && (($poscurly === false) || ($poscurly > $pospipe))) { $attrs = parse_attributes(substr($line, 0, $pospipe)); foreach ($attrs as $key => $value) { - if (in_array ($key, array("id", "class", "title", "style", + if (in_array ($key, array("id", "class", "title", "style", "scope", "colspan", "rowspan", "width", "height", "bgcolor", "align", "valign"))) { $cell->setAttr($key, $value); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |