V
V
Vyacheslav Shevchenko2018-06-26 14:05:45
PHP
Vyacheslav Shevchenko, 2018-06-26 14:05:45

Why does phpQuery add and at the end of the string received by the html() method?

I scrape one site, but when I try to get the html of the block, I get this html, but with closing tags added at the end

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Arushanov, 2018-06-26
@daruwanov

Do you need to get the contents of the block? then use .text() method

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question