slight reply patch
This commit is contained in:
parent
f6bd7423d3
commit
039491ca87
2 changed files with 3 additions and 13 deletions
|
@ -76,14 +76,10 @@ function markdown(text : string|string[],{keep=false,stdsize=false} = {}){
|
|||
}
|
||||
}
|
||||
if(txt[i]==="\n"){
|
||||
appendcurrent();
|
||||
|
||||
if(!stdsize){
|
||||
appendcurrent();
|
||||
span.append(document.createElement("br"));
|
||||
}else{
|
||||
const s=document.createElement("span");
|
||||
s.textContent="...";
|
||||
span.append(s);
|
||||
return span;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue