Skip to content

Commit

Permalink
Issue #124 - regression bug: New lines will be turned into spaces and…
Browse files Browse the repository at this point in the history
… <b> tags into new lines
  • Loading branch information
hhurz committed Aug 23, 2018
1 parent b5bfd5f commit b392d28
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 64 deletions.
4 changes: 3 additions & 1 deletion tableExport.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @preserve tableExport.jquery.plugin
*
* Version 1.9.14
* Version 1.9.15
*
* Copyright (c) 2015-2018 hhurz, https://github.com/hhurz
*
Expand Down Expand Up @@ -1948,6 +1948,8 @@
htmlData += $cell.find('input').eq(inputidx++).val();
else if ( $(this).is("select") )
htmlData += $cell.find('select option:selected').eq(selectidx++).text();
else if ( $(this).is("br") )
htmlData += "<br>";
else {
if ( typeof $(this).html() === 'undefined' )
htmlData += $(this).text();
Expand Down

0 comments on commit b392d28

Please sign in to comment.