Skip to content

Commit

Permalink
Add end-to-end test for attributes without values
Browse files Browse the repository at this point in the history
  • Loading branch information
colinodell committed Jul 31, 2023
1 parent d6c5d78 commit 86c2d06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ <h2 class="main shine" id="the-site">The Site</h2>
<p>Attributes without quote and non-whitespace char <a target="_blank" href="http://url.com" rel="noopener noreferrer">link</a></p>
<p>Attributes without quote and non-whitespace char and a dot <a target="_blank" href="http://url.com" rel="noopener noreferrer">link</a>.</p>
<p>Multiple attributes without quote and non-whitespace char and a dot <a class="class" id="id" target="_blank" href="http://url.com" rel="noopener noreferrer">link</a>.</p>
<p><img valueless-attribute src="/assets/image.jpg" alt="image" /></p>
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ Attributes without quote and non-whitespace char [link](http://url.com){target=_
Attributes without quote and non-whitespace char and a dot [link](http://url.com){target=_blank}.

Multiple attributes without quote and non-whitespace char and a dot [link](http://url.com){#id .class target=_blank}.

![image](/assets/image.jpg){valueless-attribute}

0 comments on commit 86c2d06

Please sign in to comment.