<commit_before>'use strict'
let HtmlToReactParser = require('../lib/html-to-react/lib/parser')
let React = require('react')
let MarkdownSanitizer = require('../lib/pagedown/Markdown.Sanitizer')
let markdownExtra = require('../lib/pagedown/Markdown.Extra').Extra
let logger = require('js-logger-aknudsen').get('markdown')
let $ = require('jquery')
let R = require('ramda')

let editing = require('./editing')

let getSanitizingConverter = () => {
  let converter = MarkdownSanitizer.getSanitizingConverter()
  markdownExtra.init(converter, {
    extensions: 'all',<commit_msg>Don't enable Markdown newline extension, fixes #144<commit_after>'use strict'
let HtmlToReactParser = require('../lib/html-to-react/lib/parser')
let React = require('react')
let MarkdownSanitizer = require('../lib/pagedown/Markdown.Sanitizer')
let markdownExtra = require('../lib/pagedown/Markdown.Extra').Extra
let logger = require('js-logger-aknudsen').get('markdown')
let $ = require('jquery')
let R = require('ramda')

let editing = require('./editing')

let getSanitizingConverter = () => {
  let converter = MarkdownSanitizer.getSanitizingConverter()
  markdownExtra.init(converter, {
    extensions: [
      'tables',
      'fenced_code_gfm',
      'def_list',
      'attr_list',
      'footnotes',
      'strikethrough',
    ],
{'fraction_non_alphanumeric': 0.15954198473282444, 'fraction_numerical': 0.0022900763358778627, 'mean_word_length': 4.852678571428571, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1596048', 'n_tokens_mistral': 427, 'n_tokens_neox': 418, 'n_words': 76}