From d28cdd07e09f5587fef591ba5a0f22190c51f73b Mon Sep 17 00:00:00 2001 From: samaradel Date: Tue, 26 Apr 2022 14:29:30 +0200 Subject: [PATCH] Fix button target --- templates/shortcodes/button.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/templates/shortcodes/button.html b/templates/shortcodes/button.html index 7095fb563..9bd2f7dcc 100644 --- a/templates/shortcodes/button.html +++ b/templates/shortcodes/button.html @@ -1,5 +1,13 @@ - -{% set path = body | split(pat="href=") | slice(start=1) | first | split(pat=">") | first | trim_start_matches(pat='"') | trim_end_matches(pat='"') %} - +{% else %} + +{% endif %} \ No newline at end of file