From 6eafd9af956e7edf10f2b9de93e1b5f6ada4bc74 Mon Sep 17 00:00:00 2001 From: timurgordon Date: Tue, 8 Mar 2022 11:06:26 +0300 Subject: [PATCH] button nav link fix --- templates/shortcodes/button.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/shortcodes/button.html b/templates/shortcodes/button.html index abdf620..56519cd 100644 --- a/templates/shortcodes/button.html +++ b/templates/shortcodes/button.html @@ -1,5 +1,5 @@ -{% set path = body | split(pat="href=") | slice(start=1) | first | split(pat=">") | first %} +{% set path = body | split(pat="href=") | slice(start=1) | first | split(pat=">") | first | trim_start_matches(pat='"') | trim_end_matches(pat='"') %} \ No newline at end of file