Skip to content

Commit 96a2367

Browse files
committed
🛠️ small fixes 3
1 parent 8f3e5ca commit 96a2367

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tool/ss/printer-queue.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const addToQueue = () =>{
3131
Object.keys(domObjects).forEach(key=>{
3232
tmp[key]=domObjects[key].value()
3333
})
34-
tmp.title="* "+tmp.title;
34+
tmp.title="(.)) "+tmp.title;
3535
queue.push(tmp);
3636
updateUIqueue();
3737
},
@@ -45,9 +45,7 @@ updateUIqueue = () =>{
4545
${cq.title}
4646
</h3>
4747
<div class="outputBlock" style="margin-top:10px">
48-
<p class="filenames">
49-
<span class="filename">${cq.filename}</span>
50-
</p>
48+
<p class="filenames"><span class="filename">${cq.filename}</span></p>
5149
<p class="input">${sendCodeHighlight(cq.code,cq.filename)}</p>
5250
<p class="output">${cq.output}</p>
5351
<p align="center" class="img">
@@ -75,7 +73,7 @@ sendCodeHighlight=(val,lang)=>{
7573
size=(tempBlock.split("\n").length+"").length;
7674
for(i in tempBlock.split("\n")){
7775
str = "<span class='ln'>"+padLeadingZeros(parseInt(i)+1,size)+"</span>";
78-
htmlLine=str+". "+tempBlock.split("\n")[i]+"<br>";
76+
htmlLine=str+tempBlock.split("\n")[i]+"<br>";
7977
htmlBlock+=htmlLine;
8078
}
8179
return htmlBlock;

0 commit comments

Comments
 (0)