Closed
Description
When parsing Excel HTML files, the htmldecode function strips new lines from the beginning and end of the cell. If there are HTML elements like DIV or SPAN inside the cell, then new lines before and after the content will be transformed into whitespaces. Here is a jsbin example showing the problem and a possible solution:
https://jsbin.com/muzucuyigo/edit?js,console
The solution of checking for <\s and \s> is not optimal, but is in my opinion better than the current implementation.