Forum Discussion
Inactive User
13 years agoNice. That's going to be helpful. Does it strip out html though?
KaelaC
13 years agoLithium Alumni (Retired)
For stripping out HTML you can use this new util:
Strips HTML using the google gdata html stripper, which does the following:
- Converts <br> and <p> tags to new lines
- Converts <li> tags to new line and adds a dash
- Strips remaining tags
- Adds newlines after 72 characters (for readability and conformance with email standards)
${utils.html.stripper.from.gdata.strip("<p>hello <b>world</b><strong>!</strong>")