trimWithTags ( string txt ) : string
Trim a string for spaces, <br> tags, <p> tags with spaces inside and <div> tags with spaces inside
Example
input = ("
Hello World!
")
console(trimWithTags(input))
//-> "Hello World!"
Parameters