(htmlText)
| 3756 | var htmlTags = new RegExp("<(?:.|\n)*?>", "gm"); |
| 3757 | var extraSpaces = new RegExp(" +", "gm"); |
| 3758 | function stripHTMLLite(htmlText) { |
| 3759 | return (htmlText + "").replace(htmlTags, " ").replace(extraSpaces, " "); |
| 3760 | } |
| 3761 | var singleQuotes = new RegExp("'", "gm"); |
| 3762 | function escapeQuotes(text) { |
| 3763 | return (text + "").replace(singleQuotes, "'"); |