I have to create a PDF document merging data with a large HTML document (ex.: 1.3 MB).
In my code I use to convert the external HTML this way:
var elem