Skip to content

Commit ca46d82

Browse files
authored
fix: Code block misses the code tag
1 parent b2e8a3c commit ca46d82

File tree

1 file changed

+1
-1
lines changed
  • djangocms_frontend/contrib/content/templates/djangocms_frontend/bootstrap5

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{% load i18n cms_tags %}<{{ instance.code_type|default:"code" }}{{ instance.get_attributes }}>{% if instance.tag_type == 'pre' %}<code>{% endif %}{{ instance.code_content }}{% if instance.tag_type == 'pre' %}</code>{% endif %}</{{ instance.code_type|default:"code" }}>
1+
{% load i18n cms_tags %}<{{ instance.code_type|default:"code" }}{{ instance.get_attributes }}>{% if instance.code_type == 'pre' %}<code>{% endif %}{{ instance.code_content }}{% if instance.code_type == 'pre' %}</code>{% endif %}</{{ instance.code_type|default:"code" }}>

0 commit comments

Comments
 (0)