\r\n\r\n很酷的代碼開發工具_www.ab173.com\r\n\r\n
\n

Hello Ab173

\n
\r\n
\r\n',autoCloseTags:true,});function viewPage() {html ="";html =$(".CodeMirror-code").text();alert(html);view =window.open("","view") view.document.open() view.document.write(html) view.document.write("
") view.document.close() } r.onclick =function() {var n =$(".CodeMirror-code").find("pre").text();var r =window.open("","","");r.opener =null,r.document.write(n),r.document.close() } console.log($(".CodeMirror-code").find("pre").text());