[whatwg/encoding] Editorial: align with Infra (PR #348)

Make several improvements:

- Stop using "then" before nested steps.
- Start using "then" after an if conditional.
- Use camel case for variables (codeUnit, not code unit).
- Stop manipulating state and initializing variables in a conditional for nested steps.

(More needs to be done, but this also needs to be reviewable.)


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/encoding/348.html" title="Last updated on Apr 22, 2025, 4:46 PM UTC (04e3059)">Preview</a> | <a href="https://whatpr.org/encoding/348/317401a...04e3059.html" title="Last updated on Apr 22, 2025, 4:46 PM UTC (04e3059)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/encoding/pull/348

-- Commit Summary --

  * Editorial: align with Infra

-- File Changes --

    M encoding.bs (562)

-- Patch Links --

https://github.com/whatwg/encoding/pull/348.patch
https://github.com/whatwg/encoding/pull/348.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/pull/348
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/encoding/pull/348@github.com>

Received on Tuesday, 22 April 2025 16:46:42 UTC