[phd] master: Decode HTML entities in descriptions (#196)
| From: | Luffy via GitHub | Date: | Tue, 22 Apr 2025 02:31:04 +0000 |
| Subject: | [phd] master: Decode HTML entities in descriptions (#196) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-22632@lists.php.net to get a copy of this message | ||
Author: Luffy (sy-records)
Committer: GitHub (web-flow)
Pusher: sy-records
Date: 2025-04-22T10:20:55+08:00
Commit: https://github.com/php/phd/commit/10303e6e8876a67733a0e5be172e1c470b3ae2a5
Raw diff: https://github.com/php/phd/commit/10303e6e8876a67733a0e5be172e1c470b3ae2a5.diff
Decode HTML entities in descriptions (#196)
Changed paths:
M phpdotnet/phd/Package/PHP/Web.php
Diff:
diff --git a/phpdotnet/phd/Package/PHP/Web.php b/phpdotnet/phd/Package/PHP/Web.php
index eed2b0a1..0d3ed6e4 100644
--- a/phpdotnet/phd/Package/PHP/Web.php
+++ b/phpdotnet/phd/Package/PHP/Web.php
@@ -274,7 +274,7 @@ private function processJsonIndex(): array {
$entries[] = [
$index["sdesc"], $index["filename"],
$index["element"]
];
- $descriptions[$id] = $index["ldesc"];
+ $descriptions[$id] = html_entity_decode($index["ldesc"]);
}
return [$entries, $descriptions];
}