Skip to content

Commit f07883b

Browse files
authored
Fixing whitespaces
Currently, the code snippet is not copy-paste friendly. It contains the whitespaces that causes editor issue when saving the policy: The ' ' character, hexadecimal value 0xA0, cannot be included in a name.
1 parent aae7bee commit f07883b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/api-management/validate-content-policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ The policy validates the following content in the request or response against th
4040
## Policy statement
4141

4242
```xml
43-
<validate-content unspecified-content-type-action="ignore | prevent | detect" max-size="size in bytes" size-exceeded-action="ignore | prevent | detect" errors-variable-name="variable name">
43+
<validate-content unspecified-content-type-action="ignore | prevent | detect" max-size="size in bytes" size-exceeded-action="ignore | prevent | detect" errors-variable-name="variable name">
4444
<content-type-map any-content-type-value="content type string" missing-content-type-value="content type string">
4545
<type from | when="content type string" to="content type string" />
4646
</content-type-map>
47-
<content type="content type string" validate-as="json | xml | soap" schema-id="schema id" schema-ref="#/local/reference/path" action="ignore | prevent | detect" allow-additional-properties="true | false" />
47+
<content type="content type string" validate-as="json | xml | soap" schema-id="schema id" schema-ref="#/local/reference/path" action="ignore | prevent | detect" allow-additional-properties="true | false" />
4848
</validate-content>
4949
```
5050

0 commit comments

Comments
 (0)