fix: 评论区链接解析

This commit is contained in:
guozhigq
2024-05-09 00:00:59 +08:00
parent e863f32b1f
commit 3c10644f3c

View File

@ -657,11 +657,11 @@ InlineSpan buildContent(
} else { } else {
final String redirectUrl = final String redirectUrl =
await UrlUtils.parseRedirectUrl(matchStr); await UrlUtils.parseRedirectUrl(matchStr);
if (redirectUrl == matchStr) { // if (redirectUrl == matchStr) {
Clipboard.setData(ClipboardData(text: matchStr)); // Clipboard.setData(ClipboardData(text: matchStr));
SmartDialog.showToast('地址可能有误'); // SmartDialog.showToast('地址可能有误');
return; // return;
} // }
Get.toNamed( Get.toNamed(
'/webview', '/webview',
parameters: { parameters: {