diff --git a/docs/content/references.md b/docs/content/references.md
index 6a7f919c4196736c355fe0a0192052ae40220ba9..f602b710f3ea0b902ba32aa805310c0c235399f0 100644
--- a/docs/content/references.md
+++ b/docs/content/references.md
@@ -87,7 +87,7 @@ Then, reference the figure by its `:name:` value. For example:
| `` Here is [](my-fig-ref) `` | Here is [](my-fig-ref) |
| `` Here is [My cool fig](my-fig-ref) `` | Here is [My cool fig](my-fig-ref) |
| `` Here is {numref}`my-fig-ref` `` | Here is {numref}`my-fig-ref` |
-| `` Here is {numref}`Custom Figure %s text ` `` | Here is {numref}`Custom Figure %s text <my-fig-ref>` |
+| `` Here is {numref}`Custom Figure %s text <my-fig-ref>` `` | Here is {numref}`Custom Figure %s text <my-fig-ref>` |
(references:tables)=
## Reference tables