From 140bf10377b81eb4ae80bf6171ea2cfdf336ff5c Mon Sep 17 00:00:00 2001 From: louislivi <574747417@qq.com> Date: Thu, 21 Feb 2019 17:25:33 +0800 Subject: [PATCH] fix: github assets url (#774) --- src/core/render/emojify.js | 2 +- src/plugins/emoji.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/render/emojify.js b/src/core/render/emojify.js index 988899799..95b946a16 100644 --- a/src/core/render/emojify.js +++ b/src/core/render/emojify.js @@ -1,7 +1,7 @@ import {inBrowser} from '../util/env' function replace(m, $1) { - return '' + $1 + '' + return '' + $1 + '' } export function emojify(text) { diff --git a/src/plugins/emoji.js b/src/plugins/emoji.js index 233e42b56..31f1059cc 100644 --- a/src/plugins/emoji.js +++ b/src/plugins/emoji.js @@ -892,7 +892,7 @@ const AllGithubEmoji = [ window.emojify = function (match, $1) { return AllGithubEmoji.indexOf($1) === -1 ? match : - '