Skip to content

Commit

Permalink
Remove extraneous spaces from specification.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Jun 20, 2024
1 parent 4dd4237 commit 8afb5a8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2096,8 +2096,8 @@ <h2>Resource Integrity</h2>
values.
</p>
<p>
JSON-LD context authors are expected to add `digestMultibase` to contexts that will
be used in documents that refer to other resources and include an associated
JSON-LD context authors are expected to add `digestMultibase` to contexts that will
be used in documents that refer to other resources and include an associated
content integrity hash. For example, the [[[VC-DATA-MODEL-2.0]]]
context (`https://www.w3.org/ns/credentials/v2`) includes it.
</p>
Expand Down Expand Up @@ -2860,9 +2860,9 @@ <h2>Base Encode</h2>

<pre class="example" title="An implementation of the general base-encoding algorithm above in Javascript">
/**
* @param {Uint8Array} bytes
* @param {number} targetBase
* @param {string} baseAlphabet
* @param {Uint8Array} bytes
* @param {number} targetBase
* @param {string} baseAlphabet
* @returns string
*/
function baseEncode(bytes, targetBase, baseAlphabet) {
Expand Down Expand Up @@ -3015,8 +3015,8 @@ <h2>Base Decode</h2>
<pre class="example" title="An implementation of the general base-decoding algorithm above in Javascript">
/**
* @param {string} sourceEncoding
* @param {number} sourceBase
* @param {string} baseAlphabet
* @param {number} sourceBase
* @param {string} baseAlphabet
* @returns Uint8Array
*/
function baseDecode(sourceEncoding, sourceBase, baseAlphabet) {
Expand Down Expand Up @@ -3389,7 +3389,7 @@ <h3>Verify Proof Sets and Chains</h3>
</li>
<li>
Let |combinedVerificationResult| be an empty struct. Set |combinedVerificationResult|.|status|
to `true`, |combinedVerificationResult|.|document| to `null`, and
to `true`, |combinedVerificationResult|.|document| to `null`, and
|combinedVerificationResult|.|mediaType| to `null`.
</li>
<li>
Expand All @@ -3400,16 +3400,16 @@ <h3>Verify Proof Sets and Chains</h3>
to `false`.
</li>
<li>
Otherwise, set |combinedVerificationResult|.|document| to
Otherwise, set |combinedVerificationResult|.|document| to
|cryptosuiteVerificationResult|.|verifiedDocument|, set
|combinedVerificationResult|.|mediaType| to |cryptosuiteVerificationResult|.|mediaType|, and
append |cryptosuiteVerificationResult| to |successfulVerificationResults|.
</li>
</ol>
</li>
<li>
If |combinedVerificationResult|.|status| is `false`, set
|combinedVerificationResult|.|document| to `null` and
If |combinedVerificationResult|.|status| is `false`, set
|combinedVerificationResult|.|document| to `null` and
|combinedVerificationResult|.|mediaType| to `null`.
</li>
<li>
Expand Down

0 comments on commit 8afb5a8

Please sign in to comment.