<commit_before>(function () {
    Discourse.Markdown.whiteListTag('span', 'class', '*');

    Discourse.Dialect.inlineBetween({
        start: "[nsfw]",
        stop:  "[/nsfw]",
        rawContents: false,
        emitter: function(contents) {
            return ['details', ['summary', ['b', 'NSFW']]].concat(contents);
        }
    });

    Discourse.Dialect.inlineBetween({
        start: "[hide=",
        stop:  "[/hide]",
        rawContents: true,
        emitter: function(contents) {
            var matches = contents.match(/(.+)]([\s\S]*)/);
            if (matches) return ['details', ['summary', ['b', matches[1]]]].concat(this.processInline(matches[2]));
        }<commit_msg>closed bracket<commit_after>(function () {
    Discourse.Markdown.whiteListTag('span', 'class', '*');

    Discourse.Dialect.inlineBetween({
        start: "[nsfw]",
        stop:  "[/nsfw]",
        rawContents: false,
        emitter: function(contents) {
            return ['details', ['summary', ['b', 'NSFW']]].concat(contents);
        }
    });

    Discourse.Dialect.inlineBetween({
        start: "[hide=]",
        stop:  "[/hide]",
        rawContents: true,
        emitter: function(contents) {
            var matches = contents.match(/(.+)]([\s\S]*)/);
            if (matches) return ['details', ['summary', ['b', matches[1]]]].concat(this.processInline(matches[2]));
        }
{'fraction_non_alphanumeric': 0.20274170274170275, 'fraction_numerical': 0.002886002886002886, 'mean_word_length': 2.5025252525252526, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2853015', 'n_tokens_mistral': 431, 'n_tokens_neox': 412, 'n_words': 73}