From 8a56f7241fb5edaf0ab413f065900a73e1b506ef Mon Sep 17 00:00:00 2001 From: John Hildenbiddle Date: Sun, 18 Oct 2020 18:35:24 -0500 Subject: [PATCH] Fix directive detection --- src/core/render/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/render/index.js b/src/core/render/index.js index bb288f0..8f71933 100644 --- a/src/core/render/index.js +++ b/src/core/render/index.js @@ -127,7 +127,7 @@ function renderMain(html) { // Template syntax, vueComponents, vueGlobalOptions if (docsifyConfig.vueGlobalOptions || vueComponentNames.length) { const reHasBraces = /{{2}[^{}]*}{2}/; - const reHasDirective = /\sv-(bind|cloak|else|else-if|for|html|if|is|model|on|once|pre|show|slot|text)=/; + const reHasDirective = /\sv-(bind:|cloak|else|else-if=|for=|html=|if=|is=|model=|on:|once|pre|show=|slot=|text=)/; vueMountData.push( ...dom