($el)
| 321 | } |
| 322 | |
| 323 | replaceSpec($el) { |
| 324 | let that = this; |
| 325 | let hContent = $el.prop("outerHTML"); |
| 326 | hContent = hContent.replace(/\*/g, '\\*'); |
| 327 | return hContent; |
| 328 | } |
| 329 | |
| 330 | uReplaceStr(str) { |
| 331 | return str.replace(/(^\n*)|(\n*$)/g, "").replace(/(^\s*)|(\s*$)/g, ""); |