sentry-docs
sentry-docs copied to clipboard
Version in XML code snippets causes a line break
Steps to Reproduce
- Visit https://docs.sentry.io/platforms/java/guides/spring-boot/ and check XML install snippet.
- Snippet has a line break that's not in the code (
<version)
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>
that's due to automatic code block formatting using Prettier @adinauer
How can we fix it? Is there a way to disable the auto formatter for this sample?