react-markdown-table-ts 0.3.7 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -4121,6 +4121,7 @@ function formatMarkdownRow(columnCount, currentRow, columnAlignments, columnWidt
4121
4121
  var alignment = (_b = adjustedAlignments[i]) !== null && _b !== void 0 ? _b : defaultAlignment;
4122
4122
  var targetWidth = columnWidths ? columnWidths[i] : cell.length;
4123
4123
  if (alignment === 'right') {
4124
+ cell = "".concat(canReplaceNewlines ? cell.replace(/\n/g, '<br>') : cell.replace(/\n/g, ' '));
4124
4125
  markdownRow += "".concat(cell.padStart(targetWidth)).concat(useTabs ? '\t' : '', "|");
4125
4126
  }
4126
4127
  else if (alignment === 'center') {