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

Version in XML code snippets causes a line break #10252

Closed
adinauer opened this issue Jun 4, 2024 · 2 comments
Closed

Version in XML code snippets causes a line break #10252

adinauer opened this issue Jun 4, 2024 · 2 comments
Labels
Bug Type: Platform Issues about the platform & functionality of our docs

Comments

@adinauer
Copy link
Member

adinauer commented Jun 4, 2024

Steps to Reproduce

Screenshot 2024-06-04 at 07 49 59

Expected Result

No extra linebreak

Actual Result

A line break is added to XML snippets. See screenshot. Might be happening in other places as well.

Additional Info

Docs code:

<dependency>
    <groupId>io.sentry</groupId>
    <artifactId>sentry-spring-boot-starter</artifactId>
    <version>{{@inject packages.version('sentry.java.spring-boot', '4.2.0') }}</version>
</dependency>
@adinauer adinauer added Bug Type: Platform Issues about the platform & functionality of our docs labels Jun 4, 2024
@a-hariti
Copy link
Collaborator

a-hariti commented Jun 5, 2024

that's due to automatic code block formatting using Prettier @adinauer

@adinauer
Copy link
Member Author

How can we fix it? Is there a way to disable the auto formatter for this sample?

@github-actions github-actions bot locked and limited conversation to collaborators Aug 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Type: Platform Issues about the platform & functionality of our docs
Projects
Status: Done
Development

No branches or pull requests

3 participants