Skip to content

Fix <function> with <replaceable> not rendering correctly#235

Merged
Girgias merged 1 commit intophp:masterfrom
lacatoire:fix/function-replaceable-rendering
Feb 5, 2026
Merged

Fix <function> with <replaceable> not rendering correctly#235
Girgias merged 1 commit intophp:masterfrom
lacatoire:fix/function-replaceable-rendering

Conversation

@lacatoire
Copy link
Contributor

When contains , skip link/parentheses processing in format_function_text() and output plain text instead. Uses the role stack pattern already established by format_constant().

Fixes #171

When <function> contains <replaceable>, skip link/parentheses
processing in format_function_text() and output plain text instead.
Uses the role stack pattern already established by format_constant().

Fixes php#171
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Girgias Girgias merged commit 5f10df1 into php:master Feb 5, 2026
11 checks passed
@lacatoire lacatoire deleted the fix/function-replaceable-rendering branch February 5, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<function> with <replaceable> does not render correctly

2 participants