Browse Source

fix webhook provider docs (#4514)

Wrap a code block in a raw template so that the template in the block
will render as expected.

Signed-off-by: Billie Cleek <billie.cleek@lambdal.com>
Billie Cleek 1 year ago
parent
commit
4bc6745a2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/provider/webhook.md

+ 1 - 1
docs/provider/webhook.md

@@ -116,7 +116,7 @@ spec:
 ```
 ```
 If `secretKey` is not provided, the whole secret is provided JSON encoded.
 If `secretKey` is not provided, the whole secret is provided JSON encoded.
 
 
-The secret will be added to the `remoteRef` object so that it is retrievable in the templating engine. The secret will be sent in the body when the body field of the provider is empty. In the rare case that the body should be empty, the provider can be configured to use `'{{ "" }}'` for the body value.
+The secret will be added to the `remoteRef` object so that it is retrievable in the templating engine. The secret will be sent in the body when the body field of the provider is empty. In the rare case that the body should be empty, the provider can be configured to use `{% raw %}'{{ "" }}'{% endraw %}` for the body value.
 
 
 #### Limitations
 #### Limitations