cvs: phd(PHD_0_4) /formats xhtml.php

From: Date: Mon, 10 Nov 2008 09:34:38 +0000
Subject: cvs: phd(PHD_0_4) /formats xhtml.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2496@lists.php.net to get a copy of this message
nilgun Mon Nov 10 09:34:38 2008 UTC Modified files: (Branch: PHD_0_4) /phd/formats xhtml.php Log: fix for "major problems" with some browsers http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?r1=1.67.2.2.2.4&r2=1.67.2.2.2.5&diff_format=u Index: phd/formats/xhtml.php diff -u phd/formats/xhtml.php:1.67.2.2.2.4 phd/formats/xhtml.php:1.67.2.2.2.5 --- phd/formats/xhtml.php:1.67.2.2.2.4 Sat Nov 8 22:54:06 2008 +++ phd/formats/xhtml.php Mon Nov 10 09:34:38 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: xhtml.php,v 1.67.2.2.2.4 2008/11/08 22:54:06 cweiske Exp $ */ +/* $Id: xhtml.php,v 1.67.2.2.2.5 2008/11/10 09:34:38 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 (#2496) next »