mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 02:00:26 +08:00
02f0637892
Example repro of the freeze: ``` ```css [ ```
1 line
359 B
JavaScript
1 line
359 B
JavaScript
hljs.registerLanguage("ldif",function(){"use strict";return function(e){return{name:"LDIF",contains:[{className:"attribute",begin:"^dn",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0},relevance:10},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0}},{className:"literal",begin:"^-",end:"$"},e.HASH_COMMENT_MODE]}}}()); |