From 0185c38b466bd58db73049b8da0312ec9653f495 Mon Sep 17 00:00:00 2001 From: sincex Date: Wed, 2 Jul 2025 16:03:41 +0800 Subject: [PATCH] Update docs Signed-off-by: sincex --- .../apis-arkweb/js-apis-webview-WebviewController.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/en/application-dev/reference/apis-arkweb/js-apis-webview-WebviewController.md b/en/application-dev/reference/apis-arkweb/js-apis-webview-WebviewController.md index e6022c80c0d..fa6a6c61832 100644 --- a/en/application-dev/reference/apis-arkweb/js-apis-webview-WebviewController.md +++ b/en/application-dev/reference/apis-arkweb/js-apis-webview-WebviewController.md @@ -410,7 +410,7 @@ When both **baseUrl** and **historyUrl** are empty, if **encoding** is not base6 > > - If the rich text in HTML contains special characters such as hash (#), you are advised to set the values of **baseUrl** and **historyUrl** to spaces. > -> - To load texts, you need to set **** to avoid inconsistent font sizes. +> - To load texts, you need to set `` to avoid inconsistent font sizes. **System capability**: SystemCapability.Web.Webview.Core @@ -4109,7 +4109,7 @@ struct WebComponent { ## getCertificate10+ -getCertificate(): Promise> +getCertificate(): Promise\> Obtains the certificate information of this website. When the **Web** component is used to load an HTTPS website, SSL certificate verification is performed. This API uses a promise to return the [X.509 certificate](../apis-device-certificate-kit/js-apis-cert.md#x509cert) of the current website. @@ -4270,7 +4270,7 @@ struct Index { ## getCertificate10+ -getCertificate(callback: AsyncCallback>): void +getCertificate(callback: AsyncCallback\>): void Obtains the certificate information of this website. When the **Web** component is used to load an HTTPS website, SSL certificate verification is performed. This API uses an asynchronous callback to return the [X.509 certificate](../apis-device-certificate-kit/js-apis-cert.md#x509cert) of the current website. @@ -4674,7 +4674,7 @@ For details about the error codes, see [Webview Error Codes](errorcode-webview.m | ID | Error Message | | -------- | ------------------------------------------------------------ | -| 17100002 | URL error. The webpage corresponding to the URL is invalid, or the URL length exceeds 2048. | +| 17100002 | URL error. The web page corresponding to the URL is invalid, or the URL length exceeds 2048. | | 17100013 | The number of preconnect sockets is invalid. | **Example** -- Gitee