diff --git a/rslib/src/decks/name.rs b/rslib/src/decks/name.rs index c8b6c7439..09fd2fe65 100644 --- a/rslib/src/decks/name.rs +++ b/rslib/src/decks/name.rs @@ -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 { diff --git a/rslib/src/tags/register.rs b/rslib/src/tags/register.rs index ad287506f..9605ea92a 100644 --- a/rslib/src/tags/register.rs +++ b/rslib/src/tags/register.rs @@ -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 {