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