Skip to content

Commit

Permalink
Add check for single quotes containing a query string
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-janeapp committed Feb 12, 2024
1 parent 803b83c commit 639da96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/fixtures/attributes.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
1200px"
data-autocomplete-min-length-value=2
data-short-url="//test.com/?q=v"
data-long-url="https://google.ca/this-is-a-long-url-with-a-query-string?query=something">
data-long-url="https://google.ca/this-is-a-long-url-with-a-query-string?query=something"
data-long-url-single='https://google.ca/this-is-a-long-url-with-a-query-string?query=something'>
1 change: 1 addition & 0 deletions test/fixtures/attributes.html.expected.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
data-autocomplete-min-length-value="2"
data-short-url="//test.com/?q=v"
data-long-url="https://google.ca/this-is-a-long-url-with-a-query-string?query=something"
data-long-url-single='https://google.ca/this-is-a-long-url-with-a-query-string?query=something'
>

0 comments on commit 639da96

Please sign in to comment.