diff --git a/app/changelog/page.mdx b/app/changelog/page.mdx index eaec9a9..0bc13f7 100644 --- a/app/changelog/page.mdx +++ b/app/changelog/page.mdx @@ -11,6 +11,7 @@ This page lists changes since Working Draft 3. {{ className: 'lead' }} ## Since WD 4 - Removed URI from [Report](/extensions/reports), and replaced `reason` with `tags`. +- Mandated Unix-style `\n` line endings in all text fields. ## Since WD 3 diff --git a/app/entities/page.mdx b/app/entities/page.mdx index fb036a2..2bad0d5 100644 --- a/app/entities/page.mdx +++ b/app/entities/page.mdx @@ -79,7 +79,8 @@ Any field in an entity not marked as `required` may be omitted or set to `null`. ## Serialization -When serialized to a string, the JSON representation of an entity should follow the following rules: +When serialized to a string, the JSON representation of an entity must follow the following rules: - Keys must be sorted lexicographically. -- Should use UTF-8 encoding. +- Must use UTF-8 encoding. - Must be **signed** using the relevant [User](/entities/user)'s private key, or the [instance's private key](/entities/instance-metadata) if the entity is not associated with a particular user. +- Must use Unix-style `\n` line endings (LF). \ No newline at end of file