old_contents: const shortid = require('shortid')
  
  module.exports = {
    autolinkHeadings: {
      behaviour: 'append',
    },
  
    bridge: {
      allowDangerousHtml: true,
      handlers:           {
        code: require('../../utils/code-handler'),
      },
    },
  
    footnotesTitles: 'Retourner au texte de la note $id',
  
    highlight: {
      ignoreMissing: true,
      plainText:     ['console'],
      aliases:       {tex: ['latex']},
    },
  
    sanitize: require('../sanitize'),
  
    postfixFootnotes: `-${shortid.generate()}`,
  
    postProcessors: {
      iframeWrappers:   require('./iframe-wrappers'),
      footnotesReorder: true,
      wrapCode:         true,
    },
  }
  
new_contents: const shortid = require('shortid')
  
  module.exports = {
    autolinkHeadings: {
      behaviour: 'append',
    },
  
    bridge: {
      allowDangerousHtml: true,
      handlers:           {
        code: require('../../utils/code-handler'),
      },
    },
  
    footnotesTitles: 'Retourner au texte de la note $id',
  
    highlight: {
      ignoreMissing: true,
      plainText:     ['console'],
      aliases:       {tex: ['latex']},
    },
  
    sanitize: require('../sanitize'),
  
    postfixFootnotes: (agg) => `${agg}-${shortid.generate()}`,
  
    postProcessors: {
      iframeWrappers:   require('./iframe-wrappers'),
      footnotesReorder: true,
      wrapCode:         true,
    },
  }
  
subject: Fix footnotes random postfix (#431)