From 4edf470184bb3220f99d8cdd38597d069cf525ca Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 4 Jun 2015 00:34:19 +0200 Subject: Removed platform-dependence part of def of line ending. Closes #326. --- spec.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'spec.txt') diff --git a/spec.txt b/spec.txt index 9b2b977..b9a1cec 100644 --- a/spec.txt +++ b/spec.txt @@ -212,9 +212,8 @@ to a certain encoding. A [line](@line) is a sequence of zero or more [character]s followed by a [line ending] or by the end of file. -A [line ending](@line-ending) is, depending on the platform, a -newline (`U+000A`), carriage return (`U+000D`), or -carriage return + newline. +A [line ending](@line-ending) is a newline (`U+000A`), carriage return +(`U+000D`), or carriage return + newline. For security reasons, a conforming parser must strip or replace the Unicode character `U+0000`. -- cgit v1.2.3