htmldoc icon indicating copy to clipboard operation
htmldoc copied to clipboard

fix limitation for size of data:*:base64 images and max length of the html input line

Open Shaeto opened this issue 4 years ago • 0 comments
trafficstars

  1. currently maximum size of <img ... src='data:...:base64.....' ..> image is ~7k
  2. maximum length of input line for input html document is 10240 (limited by code in htmllib.cxx)

this patch removes these limitations

test command is:

cat ./test.html | htmldoc --webpage -t pdf - > test.pdf

test.html is attached

test.html.zip

Shaeto avatar Nov 13 '21 16:11 Shaeto