Open yalexwander opened 3 years ago
When HTML document contains a fragment like:
<meta property="og:description" content="Route::register( [ '/' => 'Home', '/user/$id/profile' => function ($id) {echo "Вы указали " . (int) $id . " в адре...">
It makes parsing the document incorrect - some nodes disappears. See test files and test runner in my repo: https://github.com/yalexwander/php-html-parser-bug-example
I'm not even sure if it is a bug or expected behavior.
Confirm.
<h4><a href="URL" title="Просмотр профиля }I{eKa">}I{eKa</a></h4>
Part of the text is missing and the logic on the { sign is broken.
When HTML document contains a fragment like:
<meta property="og:description" content="Route::register( [ '/' => 'Home', '/user/$id/profile' => function ($id) {echo "Вы указали " . (int) $id . " в адре...">
It makes parsing the document incorrect - some nodes disappears. See test files and test runner in my repo: https://github.com/yalexwander/php-html-parser-bug-example
I'm not even sure if it is a bug or expected behavior.