showdown.subParser('ellipsis', function (text, options, globals) { 'use strict'; text = globals.converter._dispatch('ellipsis.before', text, options, globals); text = text.replace(/\.\.\./g, '…'); text = globals.converter._dispatch('ellipsis.after', text, options, globals); return text; });