cvs: phd /formats xhtml.php

From: Date: Mon, 03 Nov 2008 07:34:22 +0000
Subject: cvs: phd /formats xhtml.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2364@lists.php.net to get a copy of this message
cweiske Mon Nov 3 07:34:22 2008 UTC Modified files: /phd/formats xhtml.php Log: Remove workaround for itemizedlist tags in paras - we do it better now. http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?r1=1.73&r2=1.74&diff_format=u Index: phd/formats/xhtml.php diff -u phd/formats/xhtml.php:1.73 phd/formats/xhtml.php:1.74 --- phd/formats/xhtml.php:1.73 Sun Nov 2 23:34:49 2008 +++ phd/formats/xhtml.php Mon Nov 3 07:34:22 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: xhtml.php,v 1.73 2008/11/02 23:34:49 cweiske Exp $ */ +/* $Id: xhtml.php,v 1.74 2008/11/03 07:34:22 cweiske Exp $ */ class XHTMLPhDFormat extends PhDFormat { protected $elementmap = array( /* {{{ */ @@ -128,10 +128,7 @@ 'indexdiv' => 'format_dl', 'indexentry' => 'dd', 'initializer' => 'format_initializer', - 'itemizedlist' => array( - /* DEFAULT */ 'format_itemizedlist', - 'para' => 'format_para_itemizedlist', - ), + 'itemizedlist' => 'format_itemizedlist', 'legalnotice' => 'format_legalnotice_chunk', 'listitem' => array( /* DEFAULT */ 'li', @@ -222,7 +219,7 @@ 'shortaffil' => 'format_suppressed_tags', 'simplelist' => 'format_itemizedlist', /* FIXME: simplelists has few attributes that need to be implemented */ 'simpara' => array( - /* DEFAULT */ 'p', + /* DEFAULT */ 'format_para', 'note' => 'span', 'listitem' => 'span', 'entry' => 'span', @@ -991,13 +988,6 @@ return '</p>'; } - public function format_para_itemizedlist($open, $name, $attrs) { - if ($open) { - return "</p>\n<ul>\n"; - } - return "</ul>\n<p class=\"para\">"; - } - public function format_phd_toc($open, $name, $attrs, $props) { if ($open) { return '<div class="phd-toc">';

« previous php.doc.cvs (#2364) next »