[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] cvs: phd /formats xhtml.php
From:       "Gwynne Raskind" <gwynne () php ! net>
Date:       2008-02-23 18:22:37
Message-ID: cvsgwynne1203790957 () cvsserver
[Download RAW message or body]

gwynne		Sat Feb 23 18:22:37 2008 UTC

  Modified files:              
    /phd/formats	xhtml.php 
  Log:
  change <para/> inside <footnote/> to <span/> instead of <p/>. The resulting output \
formatting is much more visually correct.  
http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?r1=1.58&r2=1.59&diff_format=u
Index: phd/formats/xhtml.php
diff -u phd/formats/xhtml.php:1.58 phd/formats/xhtml.php:1.59
--- phd/formats/xhtml.php:1.58	Thu Feb 21 04:32:41 2008
+++ phd/formats/xhtml.php	Sat Feb 23 18:22:36 2008
@@ -1,5 +1,5 @@
 <?php
-/*  $Id: xhtml.php,v 1.58 2008/02/21 04:32:41 gwynne Exp $ */
+/*  $Id: xhtml.php,v 1.59 2008/02/23 18:22:36 gwynne Exp $ */
 
 class XHTMLPhDFormat extends PhDFormat {
     protected $elementmap = array( /* {{{ */
@@ -678,11 +678,11 @@
     public function format_footnote_para($open, $name, $attrs, $props) {
         $k = count($this->cchunk["footnote"]) - 1;
         if ($open) {
-            //$this->cchunk["footnote"][$k]["str"] .= '<p class="para footnote">';
+            $this->cchunk["footnote"][$k]["str"] .= '<span class="para footnote">';
             return "";
         }
 
-        //$this->cchunk["footnote"][$k]["str"] .= "</p>";
+        $this->cchunk["footnote"][$k]["str"] .= "</span>";
         return "";
     }
     public function format_footnote_para_text($value, $tag) {

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic