diff --git a/docs/user-documentation/general-admin-users/custom-database-queries.md b/docs/user-documentation/general-admin-users/custom-database-queries.md
index b8bec20d5710efa80eab4391d4c182ed7d045bef..88e86a80b2556d6d51cfe97ce522e641105b3e12 100644
--- a/docs/user-documentation/general-admin-users/custom-database-queries.md
+++ b/docs/user-documentation/general-admin-users/custom-database-queries.md
@@ -231,8 +231,8 @@ the SQL statement should be one of the following **magic** words:
     ```sql
     select id, perm_id as data_set_key from data_sets
     ```
-
-.. warning: **Be careful with this feature**: The table is shown with the hyperlinks even if the value isn't a perm ID of specified type.
+> **Warning**
+> **Be careful with this feature**: The table is shown with the hyperlinks even if the value isn't a perm ID of specified type.
 
 ### Edit a Query