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='"') %}
-