We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce7bdc9 commit a745a2fCopy full SHA for a745a2f
src/i18n.Tests/Tests/ResponseFilterTests.cs
@@ -55,6 +55,10 @@ public void ResponseFilter_can_patch_html_urls()
55
"fr",
56
"<a href=\"/\"></a>",
57
"<a href=\"/fr\"></a>");
58
+ Helper_ResponseFilter_can_patch_html_urls(
59
+ "fr",
60
+ "<a href=\"/shop\"></a>",
61
+ "<a href=\"/fr/shop\"></a>");
62
63
// Two attributes.
64
Helper_ResponseFilter_can_patch_html_urls(
@@ -180,6 +184,12 @@ public void ResponseFilter_can_patch_html_urls()
180
184
"<script src=\"123?a=b&c=d\"></script>",
181
185
"<script src=\"/fr/123?a=b&c=d\"></script>");
182
186
187
+ // Fragments.
188
189
190
+ "<a href=\"123#foo\"></a>",
191
+ "<a href=\"/fr/123#foo\"></a>");
192
+
183
193
// Single full script tag.
194
195
0 commit comments