From 3dd721983f6c7cea69141c29e6e124ef509b3538 Mon Sep 17 00:00:00 2001 From: Valtteri Laitinen Date: Fri, 5 Aug 2016 03:32:09 +0300 Subject: [PATCH] Make doctype case insensetive (#1009) --- components/prism-markup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/prism-markup.js b/components/prism-markup.js index 9c074efdd8..73fe302d81 100644 --- a/components/prism-markup.js +++ b/components/prism-markup.js @@ -1,7 +1,7 @@ Prism.languages.markup = { 'comment': //, 'prolog': /<\?[\w\W]+?\?>/, - 'doctype': //, + 'doctype': //i, 'cdata': //i, 'tag': { pattern: /<\/?(?!\d)[^\s>\/=$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,