This commit is contained in:
cookfront
2017-03-06 15:57:10 +08:00
parent 7093f1772f
commit b388aeaa02
3 changed files with 3 additions and 5 deletions
-2
View File
@@ -130,8 +130,6 @@ if (process.env.NODE_ENV === 'production') {
var description = (m && m.length > 1) ? m[1] : '';
var content = tokens[idx + 1].content;
var html = convert(striptags.strip(content, ['script', 'style']));
var script = striptags.fetch(content, 'script');
var style = striptags.fetch(content, 'style');
return `<demo-block class="demo-box">
<div class="examples" slot="examples">${html}</div>