How to write a function that can cut a string with HTML tags to an N-length string without breaking HTML tags while doing it.
The returned string doesn\'t need to b
Here is JavaScript solution: trimHtml