You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/12/21 10:11:43 UTC

[incubator-echarts-doc] branch next updated: fix: fix incorrect close tag.

This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git


The following commit(s) were added to refs/heads/next by this push:
     new a8fe6e3  fix: fix incorrect close tag.
     new 4de8486  Merge branch 'next' of github.com:apache/incubator-echarts-doc into next
a8fe6e3 is described below

commit a8fe6e36367de7221dc07f99ed964e5b087de661
Author: 100pah <su...@gmail.com>
AuthorDate: Mon Dec 21 18:10:52 2020 +0800

    fix: fix incorrect close tag.
---
 tool/md2json.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tool/md2json.js b/tool/md2json.js
index c8c3b52..402afdf 100644
--- a/tool/md2json.js
+++ b/tool/md2json.js
@@ -273,7 +273,7 @@ function mdToJsonSchema(mdStr, maxDepth, imagePath, entry) {
                     currentExampleCode = null;
                 }
                 else if (!tagName.startsWith('exampleuicontrol')) {
-                    out += `<${tagName} />`;
+                    out += `</${tagName}>`;
                 }
             }
         });


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org