Changed markdown renderer to only parse emoticons twice

Этот коммит содержится в:
hmhealey
2015-10-22 09:47:28 -04:00
родитель 74402df462
Коммит 25e018ece0
2 изменённых файлов: 15 добавлений и 1 удалений

Просмотреть файл

@@ -69,6 +69,15 @@ export function doFormatText(text, options) {
return output;
}
export function doFormatEmoticons(text) {
const tokens = new Map();
let output = Emoticons.handleEmoticons(text, tokens);
output = replaceTokens(output, tokens);
return output;
}
export function sanitizeHtml(text) {
let output = text;