cvs: phd /formats xhtml.php

From: Date: Mon, 10 Nov 2008 09:49:55 +0000
Subject: cvs: phd /formats xhtml.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2497@lists.php.net to get a copy of this message
nilgun Mon Nov 10 09:49:55 2008 UTC Modified files: /phd/formats xhtml.php Log: fix for "major problems" with some browsers http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?r1=1.75&r2=1.76&diff_format=u Index: phd/formats/xhtml.php diff -u phd/formats/xhtml.php:1.75 phd/formats/xhtml.php:1.76 --- phd/formats/xhtml.php:1.75 Sat Nov 8 22:51:58 2008 +++ phd/formats/xhtml.php Mon Nov 10 09:49:55 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: xhtml.php,v 1.75 2008/11/08 22:51:58 cweiske Exp $ */ +/* $Id: xhtml.php,v 1.76 2008/11/10 09:49:55 nilgun Exp $ */ class XHTMLPhDFormat extends PhDFormat { protected $elementmap = array( /* {{{ */ @@ -1128,10 +1128,9 @@ if ($open) { $idstr = ''; if (isset($attrs[PhDReader::XMLNS_XML]['id'])) { - $idstr = '<a name="' . $attrs[PhDReader::XMLNS_XML]['id'] - . '" id="' . $attrs[PhDReader::XMLNS_XML]['id'] . '"' . " />\n "; + $idstr = 'id="'. $attrs[PhDReader::XMLNS_XML]['id']. '" '; } - return $idstr . '<div class="'. $name. '">' + return '<div '. $idstr. 'class="'. $name. '">' . $this->admonition_title($name, $props['lang']); } return "</div>";

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