From 488147ccbe29eb1fb3bc54760d3ef8446a63b0b0 Mon Sep 17 00:00:00 2001 From: Omar Valdez Date: Sun, 6 Oct 2024 20:56:36 -0700 Subject: [PATCH] fix(djangohtml): fix name placeholder in block tag (#497) Fixes #480 --- snippets/frameworks/djangohtml.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/frameworks/djangohtml.json b/snippets/frameworks/djangohtml.json index 48735924..00dc1126 100644 --- a/snippets/frameworks/djangohtml.json +++ b/snippets/frameworks/djangohtml.json @@ -8,9 +8,9 @@ "prefix": "block", "description": "block tag django template", "body": [ - "{% block ${blockname} %}", + "{% block ${1:blockname} %}", "$2", - "{% endblock ${blockname} %}" + "{% endblock $1 %}" ] }, "comment": {