Skip to content

Commit

Permalink
v2.2.3
Browse files Browse the repository at this point in the history
fix regression introduced in v2.2.0
  • Loading branch information
Aymkdn committed May 30, 2021
1 parent b05e54a commit 518e2bd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion browser.js

Large diffs are not rendered by default.

Binary file modified example.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ module.exports = function(htmlText, options) {
}
default: {
// handle other cases
if (typeof options.customTag === "function") {
if (options && typeof options.customTag === "function") {
ret = options.customTag.call(this, {element:element, parents:parents, ret:ret});
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html-to-pdfmake",
"version": "2.2.2",
"version": "2.2.3",
"description": "Convert HTML code to PDFMake",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 518e2bd

Please sign in to comment.