1.
This commit is contained in:
7412
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/highlight/uni-highlight.min.js
vendored
Normal file
7412
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/highlight/uni-highlight.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
17
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/html-parser.js
vendored
Normal file
17
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/html-parser.js
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
require("../../../common/vendor.js");
|
||||
makeMap("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr");
|
||||
makeMap("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video");
|
||||
makeMap("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var");
|
||||
makeMap("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr");
|
||||
makeMap("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected");
|
||||
makeMap("script,style");
|
||||
function makeMap(str) {
|
||||
var obj = {};
|
||||
var items = str.split(",");
|
||||
for (var i = 0; i < items.length; i++) {
|
||||
obj[items[i]] = true;
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/ua-markdown/lib/html-parser.js.map
|
||||
1592
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/markdown-it.min.js
vendored
Normal file
1592
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/markdown-it.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user