Skip to content

Commit

Permalink
Supports enum links in type tags
Browse files Browse the repository at this point in the history
  • Loading branch information
SakiTakamachi committed Jan 31, 2025
1 parent b31954b commit a3d7cd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions phpdotnet/phd/Package/PHP/XHTML.php
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,10 @@ public function format_type_text($type, $tagname) {
default:
/* Check if its a classname. */
$href = Format::getFilename("class.$t");
if (!$href) {
/* Check if its a enumname. */
$href = Format::getFilename("enum.$t");
}
}

if ($href === false) {
Expand Down

0 comments on commit a3d7cd0

Please sign in to comment.