From 49280a17e9f32ab611d5c2330fbd81590fbf807d Mon Sep 17 00:00:00 2001 From: "songwanli2025@163.com" Date: Tue, 17 Mar 2020 17:19:23 +0800 Subject: [PATCH] fix lint --- demo/loaders/convertMd2Doc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/loaders/convertMd2Doc.js b/demo/loaders/convertMd2Doc.js index 6a7372adf..11b95a359 100644 --- a/demo/loaders/convertMd2Doc.js +++ b/demo/loaders/convertMd2Doc.js @@ -90,7 +90,7 @@ export default { function convertMd2ComponentDocumentation (text, env = 'development', url) { const isNoDemo = !!~text.search('') - const titleReg = /(]*\>)(.*?)(<\/n-h1>)/ + const titleReg = /(]*>)(.*?)(<\/n-h1>)/ const gheUrl = 'https://***REMOVED***/tree/develop/' + url const gheButton = `