Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove html_entity_decode() when getting refentry names from the database #131

Merged

Conversation

haszi
Copy link
Contributor

@haszi haszi commented May 23, 2024

refentry names are taken from xml IDs and stored in the database during indexing. These are then retrieved and used for linking to functions and methods. Do not use html_entity_decode() on these names as these IDs should not have entities in them to begin with. This change aligns this function with the function/method linking functions that only do strtolower() as well.

There is no test for this PR but I've ran the a full render of doc-en with and without this change and there were zero diffs for the ~12k generated files.

Refentry names are taken from xml IDs and stored in the database during indexing. These are then retrieved and used for linking to functions and methods. Do not use html_entity_decode on these names as these IDs should not have entities in them to begin with. This change aligns this function with the function/method linking functions that only do strtolower as well.
@Girgias Girgias merged commit 6291d50 into php:master May 25, 2024
9 checks passed
@haszi haszi deleted the Remove-html_entity_decode-at-refentry-name-import branch May 25, 2024 13:35
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.

2 participants