From 639da9699246f8658548f4e8ed14ae17b94dfe1a Mon Sep 17 00:00:00 2001 From: Phil Schalm Date: Mon, 12 Feb 2024 11:47:44 -0800 Subject: [PATCH] Add check for single quotes containing a query string --- test/fixtures/attributes.html.erb | 3 ++- test/fixtures/attributes.html.expected.erb | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/fixtures/attributes.html.erb b/test/fixtures/attributes.html.erb index 1b35932..daaeb6d 100644 --- a/test/fixtures/attributes.html.erb +++ b/test/fixtures/attributes.html.erb @@ -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'> diff --git a/test/fixtures/attributes.html.expected.erb b/test/fixtures/attributes.html.expected.erb index 14bee4d..0aed143 100644 --- a/test/fixtures/attributes.html.expected.erb +++ b/test/fixtures/attributes.html.expected.erb @@ -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' >