From 46c15b38102aa168c1e18f6df069afd07031f00a Mon Sep 17 00:00:00 2001 From: Josh Goebel Date: Sun, 1 Mar 2020 20:34:01 -0500 Subject: [PATCH] enh(xml) deprecate ActionScript inside script tags (#2444) Resolves #1212. --- CHANGES.md | 1 + src/languages/xml.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 69622b4231..07cb83922a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -20,6 +20,7 @@ Parser Engine Changes: Language Improvements: +- enh(xml) deprecate ActionScript inside script tags (#2444) [Josh Goebel][] - fix(javascript) prevent get/set variables conflicting with keywords (#2440) [Josh Goebel][] - bug(clojure) Now highlights `defn-` properly (#2438) [Josh Goebel][] - enh(bash) default value is another variable (#2439) [Josh Goebel][] diff --git a/src/languages/xml.js b/src/languages/xml.js index 1b49fef5c1..877092f72e 100644 --- a/src/languages/xml.js +++ b/src/languages/xml.js @@ -121,7 +121,7 @@ export default function(hljs) { contains: [TAG_INTERNALS], starts: { end: '\<\/script\>', returnEnd: true, - subLanguage: ['actionscript', 'javascript', 'handlebars', 'xml'] + subLanguage: ['javascript', 'handlebars', 'xml'] } }, {