- From: Philip Jägenstedt <notifications@github.com>
- Date: Thu, 05 Mar 2026 09:10:28 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 5 March 2026 17:10:32 UTC
@foolip commented on this pull request.
> +
+ <li>
+ <p><a for=map>For each</a> <var>name</var> → <var>value</var> of <var>pi</var>'s
+ <a for=ProcessingInstruction>attribute map</a>:
+
+ <ol>
+ <li><p>If <var>data</var> is not the empty string, then append U+0020 SPACE to <var>data</var>.
+
+ <li><p>Append <var>name</var> to <var>data</var>.
+
+ <li><p>Append U+003D (=) to <var>data</var>.
+
+ <li><p>Append U+0022 (") to <var>data</var>.
+
+ <li><p>Append the result of
+ <a href="https://html.spec.whatwg.org/#escapingString">escaping a string</a> given
This is because https://html.spec.whatwg.org/#escapingString isn't exported and obviously this needs to be fixed. I'm just not sure yet if the escaping should be the same for HTML and XML, or if it should be split like parsing.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1454#pullrequestreview-3898221919
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1454/review/3898221919@github.com>
Received on Thursday, 5 March 2026 17:10:32 UTC