From f75b45c2d38a56eee76a9529c2149e2cd3ee3349 Mon Sep 17 00:00:00 2001 From: Maksym Ochenashko Date: Wed, 10 Jun 2026 10:31:06 +0100 Subject: [PATCH] semconv generator: fix block code template --- .../templates/registry/otel4s/attributes/weaver.yaml | 2 +- .../templates/registry/otel4s/metrics-tests/weaver.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildscripts/semantic-convention/templates/registry/otel4s/attributes/weaver.yaml b/buildscripts/semantic-convention/templates/registry/otel4s/attributes/weaver.yaml index 982a341c9..dc088f64f 100644 --- a/buildscripts/semantic-convention/templates/registry/otel4s/attributes/weaver.yaml +++ b/buildscripts/semantic-convention/templates/registry/otel4s/attributes/weaver.yaml @@ -13,7 +13,7 @@ comment_formats: old_style_paragraph: true omit_closing_li: true inline_code_snippet: "`{{code}}`" - block_code_snippet: "{{{\n{{code}}}\n}}}" + block_code_snippet: "{{{\n{{code}}\n}}}" trim: true remove_trailing_dots: false default_comment_format: scaladoc diff --git a/buildscripts/semantic-convention/templates/registry/otel4s/metrics-tests/weaver.yaml b/buildscripts/semantic-convention/templates/registry/otel4s/metrics-tests/weaver.yaml index 71aa519fb..ee6cbc4a6 100644 --- a/buildscripts/semantic-convention/templates/registry/otel4s/metrics-tests/weaver.yaml +++ b/buildscripts/semantic-convention/templates/registry/otel4s/metrics-tests/weaver.yaml @@ -12,7 +12,7 @@ comment_formats: old_style_paragraph: true omit_closing_li: true inline_code_snippet: "`{{code}}`" - block_code_snippet: "{{{\n{{code}}}\n}}}" + block_code_snippet: "{{{\n{{code}}\n}}}" trim: true remove_trailing_dots: false default_comment_format: scaladoc