Open rubo77 opened 11 years ago
maybe It could also be replaced by the correct Newline that is allowed in CSV?
If you add some more different cases to your test.html with <br> and <br />
and some quotes at the end of a td-content:
<td>"test"</td>
and also somethinbg like:
<td>a larger than: > and lower than: < should be displayed corectly</td>
this would be in the function formatData:
// strip HTML
output = output.replace("<br>"," ");
output = output.replace("<br/>"," ");
output = output.replace("<br />"," ");
output = output.replace('<br clear="all">'," ");
...
Write a pull request and we add it in the project =D
a br should be replaced with a space even if it has some more parameters like:
cause if not, then word like
some<br>words
are displayed correctly: "some words".otherwise it would look like "somewords"