getsentry / sentry-docs

Sentry's documentation (and tools to build it)
https://docs.sentry.io
Other
325 stars 1.43k forks source link

Maven dependency blocks contain poorly formatted `version` tags #10765

Closed liamjones closed 1 month ago

liamjones commented 1 month ago

Steps to Reproduce

View a Java page including a Maven dependency block such as https://docs.sentry.io/platforms/java/guides/spring-boot/ or https://docs.sentry.io/platforms/java/guides/log4j2/

Try to copy/paste the block into a pom.xml (either manually or via the copy to clipboard button)

Expected Result

<dependency>
    <groupId>io.sentry</groupId>
    <artifactId>sentry-spring-boot-starter</artifactId>
    <version>7.12.0</version>
</dependency>

Actual Result

<dependency>
    <groupId>io.sentry</groupId>
    <artifactId>sentry-spring-boot-starter</artifactId>
    <version
  >7.12.0</version>
</dependency>

Additional Info

The tag isn't strictly broken, just ugly. 😄

getsantry[bot] commented 1 month ago

Assigning to @getsentry/support for routing ⏲️