Skip to content

Yaml number-formatting issue #20078

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

Closed
homersimpsons opened this issue Jul 29, 2024 · 1 comment
Closed

Yaml number-formatting issue #20078

homersimpsons opened this issue Jul 29, 2024 · 1 comment
Labels

Comments

@homersimpsons
Copy link
Contributor

homersimpsons commented Jul 29, 2024

Reading the yaml documentation in https://symfony.com/doc/current/components/yaml.html#numeric-literals we can see the following code block:
image

Here, the numbers are all formatted as strings, except for the 3. for the parameters.pi property.

The correct rendering should be:
image

This may be a highlightjs issue (it looks like this project is using this library).

Libraries:

@javiereguiluz
Copy link
Member

@homersimpsons good catch!

We use a custom-made parser which makes use of some PHP highlighter to produce the final results. So, this kind of bugs need to be fixed in that other project.

I've created an issue using your information: symfony-tools/docs-builder#177

So, let's close this one in favor of the other repository issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants