From bfb78f5a5b83c06e2692aabb03cac86206c02d2c Mon Sep 17 00:00:00 2001 From: Aaron Segal Date: Mon, 6 Nov 2023 13:08:20 -0500 Subject: [PATCH] Turned on prettier and changed filter name --- .../hubspot/jinjava/lib/filter/CloseHtmlFilter.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/hubspot/jinjava/lib/filter/CloseHtmlFilter.java b/src/main/java/com/hubspot/jinjava/lib/filter/CloseHtmlFilter.java index 4f436145f..df7526d2e 100644 --- a/src/main/java/com/hubspot/jinjava/lib/filter/CloseHtmlFilter.java +++ b/src/main/java/com/hubspot/jinjava/lib/filter/CloseHtmlFilter.java @@ -8,17 +8,13 @@ @JinjavaDoc( value = "Closes open HTML tags in a string", input = @JinjavaParam(value = "s", desc = "String to close", required = true), - snippets = { - @JinjavaSnippet( - code = "{{ \"

Hello, world\"|closehtml }}" - ) - } + snippets = { @JinjavaSnippet(code = "{{ \"

Hello, world\"|closehtml }}") } ) -public class CloseHtmlFilter implements Filter{ +public class CloseHtmlFilter implements Filter { @Override public String getName() { - return "render"; + return "closehtml"; } @Override