Skip to content

Commit

Permalink
3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbengtsson committed Jul 12, 2019
1 parent 4db260f commit c2f07a2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,6 @@ export interface ColumnDataConfig extends BaseConfig {
export interface HTMLConfig extends BaseConfig {
html: string | HTMLElement;
}
export declare type autoTable = (options: UserOptions) => void;
export declare type autoTable = (options: UserOptions) => void;

export {};
4 changes: 2 additions & 2 deletions dist/jspdf.plugin.autotable.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* jsPDF AutoTable plugin v3.1.1
* jsPDF AutoTable plugin v3.1.2
*
* Copyright (c) 2014 Simon Bengtsson, https://github.com/simonbengtsson/jsPDF-AutoTable
* Licensed under the MIT License.
Expand Down Expand Up @@ -605,7 +605,7 @@ var Cell = /** @class */ (function () {
var fromHtml = typeof window === 'object' && window.HTMLElement && content instanceof window.HTMLElement;
this.raw = fromHtml ? content : raw;
if (content && fromHtml) {
text = (content.innerText || '').replace(/' '+/g, ' ').trim();
text = (content.innerText || content.textContent || '').replace(/' '+/g, ' ').trim();
}
else {
// Stringify 0 and false, but not undefined or null
Expand Down
6 changes: 3 additions & 3 deletions dist/jspdf.plugin.autotable.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jspdf-autotable",
"version": "3.1.1",
"version": "3.1.2",
"description": "Generate pdf tables with javascript (jsPDF plugin)",
"main": "dist/jspdf.plugin.autotable.js",
"types": "dist/index",
Expand Down

0 comments on commit c2f07a2

Please sign in to comment.