diff --git a/.github/ISSUE_TEMPLATE/process_har.yaml b/.github/ISSUE_TEMPLATE/process_har.yaml
index e1bbc1d..c6f01a5 100644
--- a/.github/ISSUE_TEMPLATE/process_har.yaml
+++ b/.github/ISSUE_TEMPLATE/process_har.yaml
@@ -8,7 +8,7 @@ body:
attributes:
label: HAR 模板名称
description: |
- 请提供 HAR 文件的命名, 空格请用下划线代替, 允许中文
+ 请提供 HAR 文件的命名, 空格请用下划线代替, 允许中文, 请勿使用括号等特殊字符
placeholder: "Example_HARNAME"
validations:
required: true
@@ -17,7 +17,7 @@ body:
attributes:
label: 作者信息
description: |
- 请提供 HAR 文件的作者名或昵称, 用英文逗号 `,` 分隔多个作者
+ 请提供 HAR 文件的作者名或昵称, 用英文逗号 `,` 分隔多个作者, 请勿使用括号等特殊字符
placeholder: "Example_Author1, Example_Author2"
validations:
required: false
@@ -26,13 +26,13 @@ body:
attributes:
label: 模板备注及说明
description: |
- HAR 文件的备注信息及说明, 选填
+ HAR 文件的备注信息及说明, 选填, 请勿使用英文括号等特殊字符, 如需括号请使用中文括号
- type: input
id: filename
attributes:
label: HAR 文件名
description: |
- 请提供 HAR 文件的文件名, 含 `.har` 后缀, 允许中文
+ 请提供 HAR 文件的文件名, 含 `.har` 后缀, 允许中文, 请勿使用括号等特殊字符
placeholder: "Example_HARNAME.har"
- type: textarea
id: har_content
@@ -46,5 +46,5 @@ body:
attributes:
label: 其他信息
description: |
- 请提供其他信息, 例如: 对于 Issue 的其他说明, 选填
+ 请提供其他信息, 例如: 对于 Issue 的其他说明, 选填, 请勿使用英文括号等特殊字符, 如需括号请使用中文括号
render: Markdown
diff --git a/.github/src/extract_issue_body.py b/.github/src/extract_issue_body.py
index d1b86e1..7591339 100644
--- a/.github/src/extract_issue_body.py
+++ b/.github/src/extract_issue_body.py
@@ -48,7 +48,7 @@ if len(issue_json) > 0 and 'name' in issue_json and 'author' in issue_json and '
'author': issue_json['author'],
'url': 'https://raw.githubusercontent.com/'+ repo_full_name + '/' + repo_default_branch + '/' + issue_json['filename'],
'update': update,
- 'comments': issue_json.get('comments','').replace('\\r', '\r').replace('\\n', '\n').replace('\r','').replace('\n','
'),
+ 'comments': issue_json.get('comments','').replace('\\r', '\r').replace('\\n', '\n').replace('\r','').replace('\n','
').strip(),
'filename': issue_json['filename'],
'content': base64.b64encode(content_jsonstring.encode('utf8')).decode('utf8'),
'date': hfile['har'][issue_json['name']]['date'] if update else time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()),
diff --git a/README.md b/README.md
index df330b5..8cb01e1 100644
--- a/README.md
+++ b/README.md
@@ -49,19 +49,19 @@ Tips:
> ~~~markdown
> ### HAR 模板名称
>
-> 请将此行替换为**模板名称** ( HAR 文件的命名, 空格请用下划线代替, 允许中文)
+> 请将此行替换为**模板名称** ( HAR 文件的命名, 空格请用下划线代替, 允许中文, 请勿使用括号等特殊字符)
>
> ### 作者信息
>
-> 请将此行替换为**作者信息** ( HAR 文件的作者名或昵称, 用英文逗号 `,` 分隔多个作者)
+> 请将此行替换为**作者信息** ( HAR 文件的作者名或昵称, 用英文逗号 `,` 分隔多个作者, 请勿使用括号等特殊字符)
>
> ### 模板备注及说明
>
-> 请在此输入模板备注及说明 ( HAR 文件的备注及说明, 直接换行即可, 无需
)
+> 请在此输入模板备注及说明 ( HAR 文件的备注及说明, 直接换行即可, 无需
, 请勿使用英文括号等特殊字符, 如需括号请使用中文括号)
>
> ### HAR 文件名
>
-> 请将此行替换为 **HAR 文件名** ( HAR 文件的文件名, 含 `.har` 后缀, 允许中文)
+> 请将此行替换为 **HAR 文件名** ( HAR 文件的文件名, 含 `.har` 后缀, 允许中文, 请勿使用括号等特殊字符)
>
> ### HAR 模板内容
>
@@ -71,7 +71,7 @@ Tips:
>
> ### 其他信息
>
-> 选填, 可以在此输入其他信息 (例如: 对于 Issue 的其他说明)
+> 请在此输入其他信息, 选填, 例如: 对于 Issue 的其他说明 ( 请勿使用英文括号等特殊字符, 如需括号请使用中文括号)
>
> ~~~
>