Skip to content

Commit

Permalink
feat(xml): Add support for Windows Script File (.wsf), inline VBScrip…
Browse files Browse the repository at this point in the history
…t in XML <script> tags (#1690)
  • Loading branch information
Nu11u5 authored and Marcos Cáceres committed Aug 17, 2019
1 parent ec48702 commit 7746a4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/languages/xml.js
Expand Up @@ -33,7 +33,7 @@ function(hljs) {
]
};
return {
aliases: ['html', 'xhtml', 'rss', 'atom', 'xjb', 'xsd', 'xsl', 'plist'],
aliases: ['html', 'xhtml', 'rss', 'atom', 'xjb', 'xsd', 'xsl', 'plist', 'wsf'],
case_insensitive: true,
contains: [
{
Expand Down Expand Up @@ -94,7 +94,7 @@ function(hljs) {
contains: [TAG_INTERNALS],
starts: {
end: '\<\/script\>', returnEnd: true,
subLanguage: ['actionscript', 'javascript', 'handlebars', 'xml']
subLanguage: ['actionscript', 'javascript', 'handlebars', 'xml', 'vbscript']
}
},
{
Expand Down

0 comments on commit 7746a4b

Please sign in to comment.