Skip to content

Commit

Permalink
Use normalize-newlines algorithm for the title attribute
Browse files Browse the repository at this point in the history
As discovered in #10339 this matches the status quo.
  • Loading branch information
annevk committed May 17, 2024
1 parent 904aba1 commit 06d8571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -13310,8 +13310,8 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></code></pre> <!-- DO NOT REWRAP
empty string, then there is no advisory information.</p>

<ol>
<li><p>If the element has a <code data-x="attr-title">title</code> attribute, then return its
value.</p></li>
<li><p>If the element has a <code data-x="attr-title">title</code> attribute, then return the
result of running <span>normalize newlines</span> on its value.</p></li>

<li><p>If the element has a parent element, then return the parent element's <span>advisory
information</span>.</p></li>
Expand Down

0 comments on commit 06d8571

Please sign in to comment.