summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Griffis <pgriffis@igalia.com>2021-04-19 11:58:35 -0500
committerPatrick Griffis <pgriffis@igalia.com>2021-04-19 11:58:35 -0500
commite926efe8e2c89f5d93ec82643958d9cb5dc32404 (patch)
tree392c8f6a552b18c745ef80ff1597e8bd5a4b6f02
parent7a50c3184da6f3ab0feb3b72a922a87bde317c04 (diff)
downloadglib-pgriffis/doc-fix.tar.gz
docs: Fix formatting of code blockpgriffis/doc-fix
-rw-r--r--gio/gtlscertificate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gtlscertificate.c b/gio/gtlscertificate.c
index 9d00272f8..ae9e88016 100644
--- a/gio/gtlscertificate.c
+++ b/gio/gtlscertificate.c
@@ -658,7 +658,7 @@ g_tls_certificate_new_from_files (const gchar *cert_file,
*
* Where the token’s layout is:
*
- * ```
+ * |[
* Object 0:
* URL: pkcs11:model=Model;manufacturer=Manufacture;serial=1;token=My%20Client%20Certificate;id=%01;object=private%20key;type=private
* Type: Private key (RSA-2048)
@@ -668,7 +668,7 @@ g_tls_certificate_new_from_files (const gchar *cert_file,
* URL: pkcs11:model=Model;manufacturer=Manufacture;serial=1;token=My%20Client%20Certificate;id=%01;object=Certificate%20for%20Authentication;type=cert
* Type: X.509 Certificate (RSA-2048)
* ID: 01
- * ```
+ * ]|
*
* In this case the certificate and private key would both be detected and used as expected.
* @pkcs_uri may also just reference an X.509 certificate object and then optionally