diff --git a/src/core/render/compiler.js b/src/core/render/compiler.js index 41ae3a132..34c64ae72 100644 --- a/src/core/render/compiler.js +++ b/src/core/render/compiler.js @@ -265,8 +265,6 @@ export class Compiler { result = helperTpl('tip', text) } else if (/^\?>/.test(text)) { result = helperTpl('warn', text) - } else if (/^${text}
` } diff --git a/src/core/render/index.js b/src/core/render/index.js index feacd60d2..fae1bc526 100644 --- a/src/core/render/index.js +++ b/src/core/render/index.js @@ -179,7 +179,7 @@ export function renderMixin(proto) { const m = html .trim() - .match('