diff --git a/dist/js/tableexport.js b/dist/js/tableexport.js index 1929d64..b413892 100644 --- a/dist/js/tableexport.js +++ b/dist/js/tableexport.js @@ -300,6 +300,11 @@ } } + function unescapeHtml(string) { + var doc = new DOMParser().parseFromString(string, "text/html"); + return doc.documentElement.textContent; + } + function checkCaption(exportButton) { var $caption = $el.find('caption:not(.head)'); $caption.length ? $caption.append(exportButton) : $el.prepend('