diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index a6e54246b8..efe20e9654 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -7523,7 +7523,6 @@ Example: usage of the RNG device:
virtio options
`Virtio-related options`_ can also be set. ( :since:`Since 3.5.0` )
-:anchor:``
TPM device
~~~~~~~~~~
diff --git a/docs/formatsecret.rst b/docs/formatsecret.rst
index 0327430078..d0c37ff165 100644
--- a/docs/formatsecret.rst
+++ b/docs/formatsecret.rst
@@ -268,7 +268,7 @@ This secret is associated with a virtualized TPM (vTPM) and serves as a
passphrase for deriving a key from for encrypting the state of the vTPM. The
```` element must contain a single ``name`` element that
specifies a usage name for the secret. The vTPM secret can then be used by UUID
-via the ```` element of a `tpm `__
+via the ```` element of a `tpm `__
when using an emulator. :since:`Since 5.6.0` . The following is an example of
the steps to be taken. First create a vtpm-secret.xml file: