Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Can the issue be reproduced with the default theme (daylight/midnight)?
- I was able to reproduce the issue with the default theme
Could the issue be due to extensions?
- I've ruled out the possibility that the extension is causing the problem.
Describe the problem
表格中的超链接或图片的 链接/锚文本/标题 中包含 |
符号时渲染错误
Rendering error when a hyperlink or image in a table contains the |
symbol in the Link/Anchor Text/Caption
Expected result
优化解析器以对超链接或图片中的 |
符号进行兼容
Optimize the parser to be compatible with the |
symbol in hyperlinks or images
例如使用 \|
对 |
进行转义
For example, \|
is used to escape |
Screenshot or screen recording presentation
No response
Version environment
- Version: 2.8.4-dev1
- Operating System:
- Browser (if used):
Log file
无有效信息输出
No valid information output
More information
下面的 markdown 片段貌似 GitHub 的渲染器也无法兼容...
| | | |
| --------------- | --------------- | --------------- |
|  |  |  |
| [👉|👈](1 "1") | [2](👉|👈 "2") | [3](3 "👉|👈") |
 |  | [2](👉 |
需要使用 \|
符号进行转义
| | | |
| --------------- | --------------- | --------------- |
|  |  |  |
| [👉\|👈](1 "1") | [2](👉\|👈 "2") | [3](3 "👉\|👈") |
👉|👈 | 2 | 3 |
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
[-]表格中的超链接链接/锚文本/标题中包含 `|` 符号时无法正常解析 | Parse error when hyperlink links/anchor text/title in tables contain `|` symbols[/-][+]Parse error when hyperlink links/anchor text/title in tables contain `|` symbols[/+]88250 commentedon Apr 9, 2023
重现步骤是将 Markdown 直接复制粘贴到编辑器中吗?我这里测试好像正常:
Zuoqiu-Yingyi commentedon Apr 9, 2023
在插入行级元素的输入框中输入, 之后需要在其他单元格随便输入一些字符
88250 commentedon Apr 9, 2023
抱歉,我没看懂你说的是哪个输入框,麻烦截图。
Zuoqiu-Yingyi commentedon Apr 9, 2023
直接上录屏吧, 需要在插入链接后在其他单元格中输入一些内容才能触发
[-]Parse error when hyperlink links/anchor text/title in tables contain `|` symbols[/-][+]Parse error when hyperlink dest/title in tables contain `|` symbols[/+][-]Parse error when hyperlink dest/title in tables contain `|` symbols[/-][+]Parse error when hyperlink dest/title in tables contain `|` symbol[/+]🐛 Protyle Parse error when hyperlink dest/title in tables contain `|`…
🐛 Parse error when hyperlink dest/title in tables contain `|` symbol #…