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 edfbbc7a62
commit 73c97de5d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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> {