浏览代码

Allow more things in tags

Getty Ritter 3 年之前
父节点
当前提交
10e796e28f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lc/model.py

+ 1 - 1
lc/model.py

@@ -353,7 +353,7 @@ class Tag(Model):
         while p := p.parent:
             yield p
 
-    BAD_TAG_CHARS = set("{}[]\\#?")
+    BAD_TAG_CHARS = set("{}\\#")
 
     @staticmethod
     def is_valid_tag_name(tag_name: str) -> bool: