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

This commit is contained in:
guozhigq
2024-06-24 23:04:32 +08:00
parent 54c38d8683
commit abfb7a1439

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,