diff options
Diffstat (limited to 'mre/mre_similar_tags_caps')
-rw-r--r-- | mre/mre_similar_tags_caps/gallery.yaml | 2 | ||||
-rw-r--r-- | mre/mre_similar_tags_caps/readme.md | 49 | ||||
-rw-r--r-- | mre/mre_similar_tags_caps/test.md | 0 | ||||
-rw-r--r-- | mre/mre_similar_tags_caps/test.md.yaml | 2 | ||||
-rw-r--r-- | mre/mre_similar_tags_caps/test_with_caps.md | 0 | ||||
-rw-r--r-- | mre/mre_similar_tags_caps/test_with_caps.md.yaml | 2 |
6 files changed, 55 insertions, 0 deletions
diff --git a/mre/mre_similar_tags_caps/gallery.yaml b/mre/mre_similar_tags_caps/gallery.yaml new file mode 100644 index 0000000..8cbc96b --- /dev/null +++ b/mre/mre_similar_tags_caps/gallery.yaml | |||
@@ -0,0 +1,2 @@ | |||
1 | includedFiles: | ||
2 | - '*.md' | ||
diff --git a/mre/mre_similar_tags_caps/readme.md b/mre/mre_similar_tags_caps/readme.md new file mode 100644 index 0000000..1a00e52 --- /dev/null +++ b/mre/mre_similar_tags_caps/readme.md | |||
@@ -0,0 +1,49 @@ | |||
1 | # Minimal Reproducible Example | ||
2 | |||
3 | Having two or more similar tags which differ only in their casing results in | ||
4 | the lowercase variant to be inserted instead of the other ones. | ||
5 | |||
6 | ## Reproduction steps | ||
7 | |||
8 | 1. Type `Test` in the tag input box and press enter. | ||
9 | |||
10 | ## Expected result | ||
11 | |||
12 | The tag `Test` (starting with a capital letter) should be added to the search | ||
13 | query. | ||
14 | |||
15 | ## Actual result | ||
16 | |||
17 | The tag `test` (starting with a lower case letter) is instead added to the | ||
18 | search query. | ||
19 | |||
20 | ## Version info | ||
21 | |||
22 | Bug present in ldgallery v2.2. | ||
23 | |||
24 | --- | ||
25 | |||
26 | Having two or more similar tags which differ only in their casing results in | ||
27 | unrequested insertions in the query. | ||
28 | |||
29 | ## Reproduction steps | ||
30 | |||
31 | 1. Type `test` in the tag input box and press enter. | ||
32 | 2. Press the enter key or click on the "Search" button, | ||
33 | one or multiple times! | ||
34 | |||
35 | ## Expected result | ||
36 | |||
37 | It should just search for items with the `test` tag and display the result. | ||
38 | |||
39 | ## Actual result | ||
40 | |||
41 | The tag `Test` is added to the input field even though it was never requested. | ||
42 | Trying to search again results in more instances of `test` and `Test` to be | ||
43 | added to the search field. | ||
44 | |||
45 | No result is found because the resulting "forced" search query is wrong. | ||
46 | |||
47 | ## Version info | ||
48 | |||
49 | Bug present in ldgallery v2.2. | ||
diff --git a/mre/mre_similar_tags_caps/test.md b/mre/mre_similar_tags_caps/test.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/mre/mre_similar_tags_caps/test.md | |||
diff --git a/mre/mre_similar_tags_caps/test.md.yaml b/mre/mre_similar_tags_caps/test.md.yaml new file mode 100644 index 0000000..997a5f6 --- /dev/null +++ b/mre/mre_similar_tags_caps/test.md.yaml | |||
@@ -0,0 +1,2 @@ | |||
1 | tags: | ||
2 | - test | ||
diff --git a/mre/mre_similar_tags_caps/test_with_caps.md b/mre/mre_similar_tags_caps/test_with_caps.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/mre/mre_similar_tags_caps/test_with_caps.md | |||
diff --git a/mre/mre_similar_tags_caps/test_with_caps.md.yaml b/mre/mre_similar_tags_caps/test_with_caps.md.yaml new file mode 100644 index 0000000..a654d10 --- /dev/null +++ b/mre/mre_similar_tags_caps/test_with_caps.md.yaml | |||
@@ -0,0 +1,2 @@ | |||
1 | tags: | ||
2 | - Test | ||