From af1cf5359a456fe4b1a03ef15da37ba02318b069 Mon Sep 17 00:00:00 2001 From: louislivi <574747417@qq.com> Date: Sat, 16 Feb 2019 15:09:05 +0800 Subject: [PATCH] Fix github assets url --- 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 : - '