[DOC-CVS] [phd] master: Decode HTML entities in descriptions (#196)
[email protected] (Luffy via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
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];
}