fixed duplicated id's in html markup
[#74239716] - Add spinner to PDF generation