Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions phpdotnet/phd/Package/PHP/XHTML.php
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,7 @@ public function format_class_chunk($open, $name, $attrs, $props) {
public function format_reference($open, $name, $attrs, $props) {
if (isset($attrs[Reader::XMLNS_DOCBOOK]['role'])) {
if ($attrs[Reader::XMLNS_DOCBOOK]['role'] === "class"
|| $attrs[Reader::XMLNS_DOCBOOK]['role'] === "enum"
|| $attrs[Reader::XMLNS_DOCBOOK]['role'] === "exception") {
if ($open) {
$this->pushRole($attrs[Reader::XMLNS_DOCBOOK]['role']);
Expand All @@ -1089,6 +1090,7 @@ public function format_reference($open, $name, $attrs, $props) {

public function format_reference_titleabbrev_text($value, $tag) {
if ($this->getRole() === "class"
|| $this->getRole() === "enum"
|| $this->getRole() === "exception") {
return $this->format_grep_classname_text($value, $tag);
}
Expand Down