Do not strip quotation marks from deck/tag names (#3407)

* Do not strip quotation marks from deck names

* Do not strip quotation marks from tag names
This commit is contained in:
Abdo 2024-09-10 23:56:09 +03:00 committed by GitHub
parent 26d3d6aeef
commit eb4e5d0fae
2 changed files with 2 additions and 2 deletions

View file

@ -188,7 +188,7 @@ impl Collection {
}
fn invalid_char_for_deck_component(c: char) -> bool {
c.is_ascii_control() || c == '"'
c.is_ascii_control()
}
fn normalized_deck_name_component(comp: &str) -> Cow<str> {

View file

@ -152,7 +152,7 @@ impl Collection {
}
fn invalid_char_for_tag(c: char) -> bool {
c.is_ascii_control() || is_tag_separator(c) || c == '"'
c.is_ascii_control() || is_tag_separator(c)
}
fn normalized_tag_name_component(comp: &str) -> Cow<str> {