w3c / activitystreams

Activity Streams 2.0
https://www.w3.org/TR/activitystreams-core/
Other
284 stars 60 forks source link

Example 157 is not valid JSON #448

Open sebilasse opened 6 years ago

sebilasse commented 6 years ago

Please Indicate One:

Please Describe the Issue:

Example 157 is not a valid JSON due to line breaks [multiple lines in "content"]. in https://www.w3.org/TR/activitystreams-vocabulary/#microsyntaxes

evanp commented 8 months ago

Example 157 has a JSON error since a string wraps across multiple lines. I added an erratum to show the full string on a single line.

There may be a way to improve the readability of this example by using softwrap in reSpec to do this correctly when we merge into the editor's draft. Example and explanation here:

https://github.com/w3c/vc-data-model/pull/1443#issuecomment-1958980265