[whatwg] [html5] r6757 - [e] (0) Since I'm going to be editing this algorithm some more, let's bite the b [...]
Silvia Pfeiffer
silviapfeiffer1 at gmail.com
Tue Oct 25 16:33:34 PDT 2011
Question on recent commit:
On Wed, Oct 26, 2011 at 9:59 AM, <whatwg at whatwg.org> wrote:
> Author: ianh
> Date: 2011-10-25 15:59:20 -0700 (Tue, 25 Oct 2011)
> New Revision: 6757
>
> Modified:
> complete.html
> index
> source
> Log:
> [e] (0) Since I'm going to be editing this algorithm some more, let's bite the bullet and do what foolip and anne wanted, which is to normalise newlines early for sanity.
>
> Modified: complete.html
> ===================================================================
> --- complete.html 2011-10-25 22:44:32 UTC (rev 6756)
> +++ complete.html 2011-10-25 22:59:20 UTC (rev 6757)
> @@ -33068,11 +33068,26 @@
>
> <p>The <dfn id=webvtt-parser-algorithm>WebVTT parser algorithm</dfn> is as follows:</p>
>
> - <ol><li><p>Let <var title="">input</var> be the string being parsed,
> - after conversion to Unicode.</li>
> + <ol><li>
>
> - <li><p>Replace all U+0000 NULL characters in <var title="">input</var> by U+FFFD REPLACEMENT CHARACTERs.</li>
> + <p>Let <var title="">input</var> be the string being parsed, after
> + conversion to Unicode, and with the following transformations
> + applied:</p>
>
> + <ul><li><p>Replace all U+0000 NULL characters by U+FFFD REPLACEMENT
> + CHARACTERs.</li>
> +
> + <li><p>Replace each U+000D CARRIAGE RETURN U+000A LINE FEED
> + (CRLF) character pair by a single U+000A LINE FEED (CRLF)
> + character.</li>
Should this just be (LF)?
> + <li><p>Replace all remaining U+000D CARRIAGE RETURN characters by
> + U+000A LINE FEED (CRLF) characters.</li>
Same: should this just be (LF)?
Cheers,
Silvia.
More information about the whatwg
mailing list