摘要:
function typeset()//文字排版正则替换 { var str = document.getElementById("content").value; //修正不规则标点 str = str.replace(/,/gi, ","); str = str.replace(/\.\r/gi, "。\r"); str = str.replace(/./gi, "。"); str = str.replace(/;/gi, ";"); str = str.replace(/\"/g 阅读全文