mirror of
https://github.com/leanote/leanote-ios.git
synced 2026-01-13 06:03:40 +08:00
remove smartypants; support table align
This commit is contained in:
@@ -14713,7 +14713,7 @@ define('extensions/markdownExtra',[
|
||||
"def_list",
|
||||
"attr_list",
|
||||
"footnotes",
|
||||
"smartypants",
|
||||
// "smartypants",
|
||||
"strikethrough",
|
||||
"newlines"
|
||||
],
|
||||
@@ -26062,7 +26062,7 @@ define('extensions/htmlSanitizer',[
|
||||
"samp,small,span,strike,strong,sub,sup,time,tt,u,var,input"));
|
||||
|
||||
// Special Elements (can contain anything)
|
||||
var specialElements = makeMap("script,style");
|
||||
var specialElements = makeMap("script");
|
||||
|
||||
// benweet: Add iframe
|
||||
// blockElements.iframe = true;
|
||||
@@ -26080,7 +26080,7 @@ define('extensions/htmlSanitizer',[
|
||||
'color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,' +
|
||||
'ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,' +
|
||||
'scope,scrolling,shape,size,span,start,summary,target,title,type,' +
|
||||
'valign,value,vspace,width,checked,disabled'));
|
||||
'valign,value,vspace,width,checked,disabled,style'));
|
||||
|
||||
// benweet: Add id and allowfullscreen (YouTube iframe)
|
||||
validAttrs.id = true;
|
||||
|
||||
@@ -14554,7 +14554,7 @@ define('extensions/markdownExtra',[
|
||||
"def_list",
|
||||
"attr_list",
|
||||
"footnotes",
|
||||
"smartypants",
|
||||
// "smartypants",
|
||||
"strikethrough",
|
||||
"newlines"
|
||||
],
|
||||
@@ -25903,7 +25903,7 @@ define('extensions/htmlSanitizer',[
|
||||
"samp,small,span,strike,strong,sub,sup,time,tt,u,var,input"));
|
||||
|
||||
// Special Elements (can contain anything)
|
||||
var specialElements = makeMap("script,style");
|
||||
var specialElements = makeMap("script");
|
||||
|
||||
// benweet: Add iframe
|
||||
// blockElements.iframe = true;
|
||||
@@ -25921,7 +25921,7 @@ define('extensions/htmlSanitizer',[
|
||||
'color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,' +
|
||||
'ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,' +
|
||||
'scope,scrolling,shape,size,span,start,summary,target,title,type,' +
|
||||
'valign,value,vspace,width,checked,disabled'));
|
||||
'valign,value,vspace,width,checked,disabled,style'));
|
||||
|
||||
// benweet: Add id and allowfullscreen (YouTube iframe)
|
||||
validAttrs.id = true;
|
||||
|
||||
Reference in New Issue
Block a user