[breaking] fix typos
This commit is contained in:
parent
8fe0c9f46b
commit
611e58090b
15 changed files with 113 additions and 115 deletions
|
@ -270,12 +270,12 @@ function markdown(text : string|string[],{keep=false,stdsize=false} = {}){
|
|||
if(find===count){
|
||||
appendcurrent();
|
||||
i=j;
|
||||
const underscores="~~";
|
||||
const tildes="~~";
|
||||
if(count===2){
|
||||
const s=document.createElement("s");
|
||||
if(keep){s.append(underscores)}
|
||||
if(keep){s.append(tildes)}
|
||||
s.appendChild(markdown(build,{keep:keep,stdsize:stdsize}));
|
||||
if(keep){s.append(underscores)}
|
||||
if(keep){s.append(tildes)}
|
||||
span.appendChild(s);
|
||||
}
|
||||
continue;
|
||||
|
@ -300,14 +300,14 @@ function markdown(text : string|string[],{keep=false,stdsize=false} = {}){
|
|||
if(find===count){
|
||||
appendcurrent();
|
||||
i=j;
|
||||
const underscores="||";
|
||||
const pipes="||";
|
||||
if(count===2){
|
||||
const j=document.createElement("j");
|
||||
if(keep){j.append(underscores)}
|
||||
if(keep){j.append(pipes)}
|
||||
j.appendChild(markdown(build,{keep:keep,stdsize:stdsize}));
|
||||
j.classList.add("spoiler");
|
||||
j.onclick=markdown.unspoil;
|
||||
if(keep){j.append(underscores)}
|
||||
if(keep){j.append(pipes)}
|
||||
span.appendChild(j);
|
||||
}
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue