P
P
Printip2019-05-05 14:50:01
linux
Printip, 2019-05-05 14:50:01

Why is wkhtmltopdf not parsing the title tag?

There is an html file

<html>
<header><title>This is title</title></header>
<body>
Hello world
</body>
</html>

I give it to eat:
[email protected]: wkhtmltopdf file.html file.pdf
So, for some reason, wkhtmltopdf does not want to work out the title tag, it just "eats it" and does not display it in the file header.
Tell me what am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2019-05-05
@fzfx

Probably because the "title" tag is not included in the body of the page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question