projects
/
mdref
/
mdref
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
a94ecb1
)
fix wrapper->fmt calls
author
Michael Wallner
<mike@php.net>
Thu, 27 Jan 2022 15:06:05 +0000
(16:06 +0100)
committer
Michael Wallner
<mike@php.net>
Thu, 27 Jan 2022 15:06:05 +0000
(16:06 +0100)
mdref/Formatter/Wrapper.php
patch
|
blob
|
history
diff --git
a/mdref/Formatter/Wrapper.php
b/mdref/Formatter/Wrapper.php
index 400de29822fa04d820d9822faf369cbdf9876d96..d2696d357e18060c1149e81091721f3d599e192f 100644
(file)
--- a/
mdref/Formatter/Wrapper.php
+++ b/
mdref/Formatter/Wrapper.php
@@
-199,7
+199,7
@@
class Wrapper {
$span->setAttribute("class", "constant");
$span->textContent = $item;
if (!$strict && $pld->currentSection === "Constants:" && $node->parentNode->nodeName === "li" && $node->parentNode->firstChild === $node) {
- $perm = $this->
createPermaLink($span, $this
->formatSlug($item), $pld);
+ $perm = $this->
fmt->createPermaLink($span, $this->fmt
->formatSlug($item), $pld);
$span->insertBefore($perm);
}
return $span;