OSDN Git Service

テーブルセル内でブロックプラグインを使用できるようにする仕掛けを削除
authorarino <arino>
Wed, 28 May 2003 04:48:49 +0000 (13:48 +0900)
committerarino <arino>
Wed, 28 May 2003 04:48:49 +0000 (13:48 +0900)
convert_html.php

index e5085bf..ae47fe9 100644 (file)
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: convert_html.php,v 1.39 2003/05/26 13:53:49 arino Exp $
+// $Id: convert_html.php,v 1.40 2003/05/28 04:48:49 arino Exp $
 //
 function convert_html($lines)
 {
@@ -421,7 +421,7 @@ class TableCell extends Block
                        $this->tag = 'th';
                        $text = substr($text,1);
                }
-               $this->last =& $this->insert(new Div($this,$text));
+               $this->last =& $this->insert(new Inline($text));
        }
        function setStyle(&$style) {
                foreach ($style as $key=>$value) {
@@ -653,7 +653,7 @@ class Div extends Block
        function Div(&$root,$text)
        {
                if (!preg_match("/^\#([^\(]+)(?:\((.*)\))?/",$text,$out) or !exist_plugin_convert($out[1])) {
-                       $this = new Inline($text);
+                       $this = new Paragraph($text);
                        return;
                }
                parent::Block();