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

Content formatting is erratic when displaying code on some pages #1561

Open
markhowellsmead opened this issue May 17, 2024 · 3 comments
Open
Labels
developer documentation (DevHub) Improvements or additions to developer documentation [Status] To do Issue marked as Todo

Comments

@markhowellsmead
Copy link

Issue Description

The inclusion of code samples in the developer documentation is leading to display issues.

URL of the Page with the Issue

e.g. https://developer.wordpress.org/reference/functions/wptexturize/

Section of Page with the issue

"More information", also “As an example“.

@markhowellsmead markhowellsmead added the [Status] To do Issue marked as Todo label May 17, 2024
Copy link

Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

@markhowellsmead
Copy link
Author

Additionally, the “before” and “after” examples are both converted on that page, so there is no visible difference.

@flexseth
Copy link
Collaborator

TIL: The quotes are called Smart Quotes - they break formatting in CLI arguments!

Additionally, the “before” and “after” examples are both converted on that page, so there is no visible difference.

May have to do with the phpdoc-parser

@flexseth flexseth added the developer documentation (DevHub) Improvements or additions to developer documentation label May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer documentation (DevHub) Improvements or additions to developer documentation [Status] To do Issue marked as Todo
Projects
None yet
Development

No branches or pull requests

2 participants