mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
opt some
This commit is contained in:
parent
241c4021ad
commit
4cb5d8b414
@ -243,3 +243,6 @@ Volcanos("date", { // @1900-2100区间内的公历转农历
|
||||
'7f07e7f0e47f531b0723b0b6fb0721','7f0e26665b66a449801e9808297c35','665f67f0e37f1489801eb072297c35',
|
||||
'7ec967f0e37f14998082b0787b06bd','7f07e7f0e47f531b0723b0b6fb0721','7f0e27f1487f531b0b0bb0b6fb0722'],
|
||||
})
|
||||
Volcanos("page", {
|
||||
replace: function(can, text, key, value) { return can.base.replaceAll(text, "<", "<", ">", ">", key, value) },
|
||||
})
|
||||
|
@ -188,7 +188,6 @@ Volcanos("page", {ClassList: {
|
||||
} return input
|
||||
},
|
||||
|
||||
replace: function(can, text, key, value) { return can.base.replaceAll(text, "<", "<", ">", ">", key, value) },
|
||||
Format: function(type) { var args = arguments; switch (type) {
|
||||
case html.A: return "<a href='"+args[1]+"' target='_blank'>"+(args[2]||args[1])+"</a>"
|
||||
case html.IMG: return args[2]? "<img src='"+args[1]+"' height="+args[2]+">": "<img src='"+args[1]+"'>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user