Skip to content

Implement dangling markup injection mitigation #10022

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
remove cite
  • Loading branch information
shhnjk committed Feb 12, 2024
commit 6e9e98efdc8d9db6cd80ed8e7bff2fb9e2c7dae4
8 changes: 4 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -19995,7 +19995,7 @@ interface <dfn interface>HTMLQuoteElement</dfn> : <span>HTMLElement</span> {

<p>If the <code data-x="attr-blockquote-cite">cite</code> attribute is present, it must be a
<span>valid URL potentially surrounded by spaces</span>. <span w-nodev>To obtain the
corresponding citation link, the value of the attribute must be <span data-x="HTML-parse a
corresponding citation link, the value of the attribute must be <span data-x="encoding-parsing a
URL">parsed</span> relative to the element's <span>node document</span>.</span> User agents may
allow users to follow such citation links, but they are primarily intended for private use (e.g.,
by server-side scripts collecting statistics about a site's use of quotations), not for
Expand Down Expand Up @@ -22215,7 +22215,7 @@ gossip column, maybe!&lt;/q>.&lt;/p></code></pre>

<p>If the <code data-x="attr-q-cite">cite</code> attribute is present, it must be a <span>valid
URL potentially surrounded by spaces</span>. <span w-nodev>To obtain the corresponding citation
link, the value of the attribute must be <span data-x="HTML-parse a URL">parsed</span>
link, the value of the attribute must be <span data-x="encoding-parsing a URL">parsed</span>
relative to the element's <span>node document</span>.</span> User agents may allow users to follow
such citation links, but they are primarily intended for private use (e.g., by server-side scripts
collecting statistics about a site's use of quotations), not for readers.</p>
Expand Down Expand Up @@ -28303,7 +28303,7 @@ document.body.appendChild(wbr);</code></pre>

<p>If the <code data-x="attr-mod-cite">cite</code> attribute is present, it must be a <span>valid
URL potentially surrounded by spaces</span> that explains the change. <span w-nodev>To obtain
the corresponding citation link, the value of the attribute must be <span data-x="HTML-parse
the corresponding citation link, the value of the attribute must be <span data-x="encoding-parsing
a URL">parsed</span> relative to the element's <span>node document</span>.</span> User agents may
allow users to follow such citation links, but they are primarily intended for private use (e.g.,
by server-side scripts collecting statistics about a site's edits), not for readers.</p>
Expand Down Expand Up @@ -133698,7 +133698,7 @@ progress { appearance: auto; }</code></pre>
as part of such auditing.</p>

<p>User agents may allow users to <span>navigate</span><!--DONAV cite=""--> <span
data-x="navigable">navigables</span> to the URLs <span data-x="HTML-parse a
data-x="navigable">navigables</span> to the URLs <span data-x="encoding-parsing a
URL">indicated</span> by the <code data-x="">cite</code> attributes on <code>q</code>,
<code>blockquote</code>, <code>ins</code>, and <code>del</code> elements.</p>

Expand Down