mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 22:42:13 +08:00
02f0637892
Example repro of the freeze: ``` ```css [ ```
1 line
413 B
JavaScript
1 line
413 B
JavaScript
hljs.registerLanguage("fix",function(){"use strict";return function(n){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}}()); |