|
@@ -202,7 +202,7 @@ $(document).ready(function () {
|
|
|
|
|
|
function filterText(text) {
|
|
function filterText(text) {
|
|
if (!text) return null
|
|
if (!text) return null
|
|
- return text.replace(/(\r\n)|(\n)/g, '<br/>').replace(/\s/g, ' ')
|
|
|
|
|
|
+ return text.replace(/(\r\n)|(\n)/g, '<br/>')
|
|
}
|
|
}
|
|
function update(data) {
|
|
function update(data) {
|
|
postData(preUrl + '/update', data)
|
|
postData(preUrl + '/update', data)
|