svn: /phd/trunk/phpdotnet/phd/ Format.php
| From: | Moacir de Oliveira Miranda Júnior | Date: | Tue, 29 Sep 2009 01:23:12 +0000 |
| Subject: | svn: /phd/trunk/phpdotnet/phd/ Format.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4995@lists.php.net to get a copy of this message | ||
moacir Tue, 29 Sep 2009 01:23:12 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=288925
Log:
Quick fix for the bug #49675.
The problem is because the indexer stores the sdesc and ldesc with htmlentities.
I think we should remove that function from the indexer and only use when necessary.
Bug: http://bugs.php.net/49675 (Open) Missing links in
SeeAlso
Changed paths:
U phd/trunk/phpdotnet/phd/Format.php
Modified: phd/trunk/phpdotnet/phd/Format.php
===================================================================
--- phd/trunk/phpdotnet/phd/Format.php 2009-09-28 23:35:51 UTC (rev 288924)
+++ phd/trunk/phpdotnet/phd/Format.php 2009-09-29 01:23:12 UTC (rev 288925)
@@ -99,7 +99,7 @@
}
public function SQLiteRefname(&$context, $index, $id, $sdesc) {
- $ref = strtolower(str_replace(array("_", "::", "->"),
array("-", "-", "-"), $sdesc));
+ $ref = strtolower(str_replace(array("_", "::", "->"),
array("-", "-", "-"), html_entity_decode($sdesc, ENT_QUOTES,
'UTF-8')));
$this->refs[$ref] = $id;
}