Skip to content

Commit 10303e6

Browse files
authored
Decode HTML entities in descriptions (#196)
1 parent 40bc3ea commit 10303e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpdotnet/phd/Package/PHP/Web.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ private function processJsonIndex(): array {
274274
$entries[] = [
275275
$index["sdesc"], $index["filename"], $index["element"]
276276
];
277-
$descriptions[$id] = $index["ldesc"];
277+
$descriptions[$id] = html_entity_decode($index["ldesc"]);
278278
}
279279
return [$entries, $descriptions];
280280
}

0 commit comments

Comments
 (0)