From f49429be5fb9d2c08b96ff3cfe15e413bec31418 Mon Sep 17 00:00:00 2001
From: Lisa Cawley <lcawley@elastic.co>
Date: Mon, 8 Apr 2019 11:36:29 -0700
Subject: [PATCH] [DOCS] Fix deprecation notification (#40980)

---
 docs/java-api/query-dsl/type-query.asciidoc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/docs/java-api/query-dsl/type-query.asciidoc b/docs/java-api/query-dsl/type-query.asciidoc
index 93c7bd76dfe34..160deedb9eaca 100644
--- a/docs/java-api/query-dsl/type-query.asciidoc
+++ b/docs/java-api/query-dsl/type-query.asciidoc
@@ -1,7 +1,10 @@
 [[java-query-dsl-type-query]]
 ==== Type Query
 
-deprecated[7.0.0, Types are being removed, prefer filtering on a field instead. For more information, please see {ref}/removal-of-types.html[Removal of mapping types].]
+deprecated[7.0.0]
+
+Types are being removed, prefer filtering on a field instead. For
+more information, see {ref}/removal-of-types.html[Removal of mapping types].
 
 See {ref}/query-dsl-type-query.html[Type Query]