Commit fbcf6db0 authored by mercury233's avatar mercury233

fix CR in pre.html

parent 6e57ec15
......@@ -180,7 +180,7 @@ var loadDb = function(db_file) {
}
cardText+=result.desc;
cardHTML+='<td>'+ cardText.replace(/\n/g,"<br>") +'</td>';
cardHTML+='<td>'+ cardText.replace(/\r/g,"").replace(/\n/g,"<br>") +'</td>';
cardHTML+='</tr>';
cardHTMLs.push(cardHTML);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment