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

Bad rendering with jinja template and yaml #446

Open
Herbs851 opened this issue Feb 5, 2021 · 3 comments
Open

Bad rendering with jinja template and yaml #446

Herbs851 opened this issue Feb 5, 2021 · 3 comments
Labels
help wanted lexer bug Highlighting error in a lexer

Comments

@Herbs851
Copy link

Herbs851 commented Feb 5, 2021

Describe the bug

Here rendering with gitea 1.12.5

image

Here rendering with chroma playground

image

As you can see there is a problem between the data_template and the service.
Due to the "key" >-
I don't know if this is normal or if it's really a bug.

@alecthomas
Copy link
Owner

YAML is horrendously complex and there are definitely some things missing from the YAML formatter.

@alecthomas alecthomas added bug help wanted lexer bug Highlighting error in a lexer and removed bug help wanted labels Feb 5, 2021
@Herbs851
Copy link
Author

Herbs851 commented Feb 6, 2021

I confirm the yaml it's really not simple ;)
My skills are a bit limited, I hope someone more competent can help.
Anyway thank you for your answer.

@jmooring
Copy link
Contributor

jmooring commented Mar 1, 2023

I think this was resolved with #724. I am now unable to reproduce the problem.

image

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted lexer bug Highlighting error in a lexer
Projects
None yet
Development

No branches or pull requests

3 participants