Skip to content

Commit

Permalink
markup fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yves-Marie committed Jan 29, 2025
1 parent 1c2d99f commit 9dae792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ To <dfn>add a part</dfn> given a [=pattern parser=] |parser|, a string |prefix|,
1. Set |type| to "<a for=part/type>`full-wildcard`</a>".
1. Set |regexp value| to the empty string.
1. Let |name| be the empty string.
<p class=note>Next, we determine the [=part=] [=part/name=]. This can be explicitly provided by a "<a for=token/type>`name`</a>" [=token=] or be automatically assigned.</a>
<p class=note>Next, we determine the [=part=] [=part/name=]. This can be explicitly provided by a "<a for=token/type>`name`</a>" [=token=] or be automatically assigned.</p>
1. If |name token| is not null, then set |name| to |name token|'s [=token/value=].
1. Otherwise if |regexp or wildcard token| is not null:
1. Set |name| to |parser|'s [=pattern parser/next numeric name=], [=serialize an integer|serialized=].
Expand Down Expand Up @@ -1779,7 +1779,7 @@ To <dfn>convert a modifier to a string</dfn> given a [=part/modifier=] |modifier
</div>
1. Append |value| to the end of |modified value|.
1. Let |dummyURL| be a new [=URL record=].
1. Let |parseResult| be the result of running [=basic URL parser=] given |modified value| with |dummyURL| as </i>[=basic URL parser/url=]</i> and [=path start state=] as <i>[=basic URL parser/state override=]</i>.
1. Let |parseResult| be the result of running [=basic URL parser=] given |modified value| with |dummyURL| as <i>[=basic URL parser/url=]</i> and [=path start state=] as <i>[=basic URL parser/state override=]</i>.
1. If |parseResult| is failure, then throw a {{TypeError}}.
1. Let |result| be the result of [=URL path serializing=] |dummyURL|.
1. If |leading slash| is false, then set |result| to the [=code point substring to the end of the string|code point substring=] from 2 to the end of the string within |result|.
Expand Down

0 comments on commit 9dae792

Please sign in to comment.