Skip to content

Commit e12eb82

Browse files
committed
Clarify Content annotations on non-strings
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent 51959b9 commit e12eb82

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed

content/2020-12/content/contentEncoding.markdown

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,6 @@ For example, `x-my-new-encoding`.
112112
{ "keyword": "/contentEncoding", "instance": "", "value": "base64" }
113113
{{</instance-annotation>}}
114114

115-
{{<instance-pass `A non-string value is valid but (perhaps counter-intuitively) an annotation is still emitted`>}}
115+
{{<instance-pass `A non-string value is valid but no annotations are emitted`>}}
116116
1234
117117
{{</instance-pass>}}
118-
119-
{{<instance-annotation>}}
120-
{ "keyword": "/contentEncoding", "instance": "", "value": "base64" }
121-
{{</instance-annotation>}}

content/2020-12/content/contentMediaType.markdown

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,6 @@ registered category and prefixed with `x-`. For example,
110110
{ "keyword": "/contentMediaType", "instance": "", "value": "application/json" }
111111
{{</instance-annotation>}}
112112

113-
{{<instance-pass `A non-string value is valid but (perhaps counter-intuitively) annotations are still emitted`>}}
113+
{{<instance-pass `A non-string value is valid but no annotations are emitted`>}}
114114
1234
115115
{{</instance-pass>}}
116-
117-
{{<instance-annotation>}}
118-
{ "keyword": "/contentEncoding", "instance": "", "value": "base64" }
119-
{ "keyword": "/contentMediaType", "instance": "", "value": "text/html" }
120-
{{</instance-annotation>}}

content/2020-12/content/contentSchema.markdown

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ supports content encoding/decoding and how to enable it.
8383
{ "keyword": "/contentSchema", "instance": "", "value": { "type": "object" } }
8484
{{</instance-annotation>}}
8585

86-
{{<instance-pass `A non-string value is valid but (perhaps counter-intuitively) annotations are still emitted`>}}
86+
{{<instance-pass `A non-string value is valid but no annotations are emitted`>}}
8787
1234
8888
{{</instance-pass>}}
89-
90-
{{<instance-annotation>}}
91-
{ "keyword": "/contentMediaType", "instance": "", "value": "application/json" }
92-
{ "keyword": "/contentEncoding", "instance": "", "value": "base64" }
93-
{ "keyword": "/contentSchema", "instance": "", "value": { "type": "object" } }
94-
{{</instance-annotation>}}

0 commit comments

Comments
 (0)