fix: 评论区 /? 链接跳转异常

This commit is contained in:
guozhigq
2024-06-24 23:04:32 +08:00
parent 791809daa6
commit 8e8d172306

View File

@ -645,7 +645,7 @@ InlineSpan buildContent(
'',
);
} else {
Uri uri = Uri.parse(matchStr);
Uri uri = Uri.parse(matchStr.replaceAll('/?', '?'));
SchemeEntity scheme = SchemeEntity(
scheme: uri.scheme,
host: uri.host,