/////////////////////////////////////////////////
// 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)
{
$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) {
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();