mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 00:33:43 +08:00
02f0637892
Example repro of the freeze: ``` ```css [ ```
1 line
469 B
JavaScript
1 line
469 B
JavaScript
hljs.registerLanguage("dust",function(){"use strict";return function(e){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}}()); |