mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
6e2b75f6ad
commit
8363e001a8
@ -259,6 +259,7 @@ Volcanos("page", {help: "网页模块",
|
|||||||
text = text.replace(/\033\[32m/g, "<span style='color:#0f0'>")
|
text = text.replace(/\033\[32m/g, "<span style='color:#0f0'>")
|
||||||
text = text.replace(/\033\[0m/g, "</span>")
|
text = text.replace(/\033\[0m/g, "</span>")
|
||||||
text = text.replace(/\033\[m/g, "</span>")
|
text = text.replace(/\033\[m/g, "</span>")
|
||||||
|
text = text.replace(/\\n/g, "<br>")
|
||||||
return text;
|
return text;
|
||||||
},
|
},
|
||||||
CopyText: function(can, text) {
|
CopyText: function(can, text) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user