Skip to content

Commit 64c1e66

Browse files
committed
fix bug in config_option shortcode
Signed-off-by: svrnm <[email protected]>
1 parent 7591d4d commit 64c1e66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/en/docs/zero-code/java/agent/configuration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ is the name of a remote service to which a connection is made. It corresponds to
123123
`service.name` in the [resource](/docs/specs/semconv/resource/#service) for the
124124
local service.
125125

126-
{{% config_option name="otel.instrumentation.common.peer-service-mapping" %}}
126+
{{< config_option name="otel.instrumentation.common.peer-service-mapping" >}}
127127

128128
Used to specify a mapping from host names or IP addresses to peer services, as a
129129
comma-separated list of `<host_or_ip>=<user_assigned_name>` pairs. The peer
@@ -150,7 +150,7 @@ while `1.2.3.4:443` will have have `peer.service` of `cats-service` and requests
150150
to `dogs-abcdef123.serverlessapis.com:80/api/v1` will have an attribute of
151151
`dogs-api`.
152152

153-
{{% /config_option %}}
153+
{{< /config_option >}}
154154

155155
### DB statement sanitization
156156

layouts/shortcodes/config_option.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
<span class="label">Default</span>: {{ .Get "default" }}<br>
1717
{{ end -}}
1818
<span class="label">Description</span>:
19-
{{ trim .InnerDeindent "\n " }}
19+
{{ trim .InnerDeindent "\n " | markdownify }}
2020
</div>

0 commit comments

Comments
 (0)