mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
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:
parent
edfbbc7a62
commit
73c97de5d0
2 changed files with 2 additions and 2 deletions
|
@ -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> {
|
||||
|
|
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue