重构代码,新增了MarkdownBasedManager和TXTManager实现
This commit is contained in:
@@ -69,7 +69,7 @@ def uris2placeholder(markdown: str, mask_dict: MaskDict):
|
||||
return markdown
|
||||
|
||||
|
||||
def placeholder2_uris(markdown: str, mask_dict: MaskDict):
|
||||
def placeholder2uris(markdown: str, mask_dict: MaskDict):
|
||||
def placeholder2uri(match: re.Match):
|
||||
id = match.group(1)
|
||||
uri = mask_dict.get(id)
|
||||
|
||||
Reference in New Issue
Block a user