src/Parser.js
function prep (id) {
    id = id.replace(/(?:%20|\+)/g, ' ')
    id = self.headingAutoId({ text: id })
    return id
  }
function prep (id) {
    id = id.replace(/(?:%20|\+)/g, ' ')
    id = self.headingAutoId({ text: id })
    return id
  }
function prep ( id ) { id = id . replace ( / (?:%20|\+) / g , ' ' ) id = self . headingAutoId ( { text : id } ) return id }
sanitize the id before lookup
sanitize the id before lookup