From adb7bf7016502ebdc8aafdbca422731dac0abbfc Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 14 Jul 2024 16:36:36 +0100 Subject: [PATCH] Codemirror: Enabled non-standard self-closing tags For #5078 --- resources/js/code/languages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/code/languages.js b/resources/js/code/languages.js index c0f9e6dd9..ef317334c 100644 --- a/resources/js/code/languages.js +++ b/resources/js/code/languages.js @@ -35,7 +35,7 @@ const modeMap = { go: () => legacyLoad('go'), haskell: () => legacyLoad('haskell'), hs: () => legacyLoad('haskell'), - html: async () => html(), + html: async () => html({selfClosingTags: true}), ini: () => legacyLoad('properties'), java: () => legacyLoad('java'), javascript: async () => javascript(),