From d33635bdf974e330ade1f7e6667e3c22bc5e1d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 30 Apr 2024 18:16:30 +0200 Subject: [PATCH] Escape title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- layouts/partials/openapi/render-object-table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/openapi/render-object-table.html b/layouts/partials/openapi/render-object-table.html index 179f6ab9..598b12a3 100644 --- a/layouts/partials/openapi/render-object-table.html +++ b/layouts/partials/openapi/render-object-table.html @@ -196,7 +196,7 @@ anyway, because showing the title (like `EventFilter`) is better than showing `object`. */}} - {{ $type = .title }} + {{ $type = .title | htmlEscape }} {{ end }} {{ return $type }}