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