SIGN IN SIGN UP

fix: parse html with omitted body tag (#818)

* fix: parse HTML files without body tag

Parse HTML files without 'body' tag, since it is optional in HTML5 specification.

Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>

* test: ensure docling converts HTML without body tag

Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>

---------

Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
C
Cesar Berrospi Ramis committed
a112d7a03512e8a00842a100416426254d6ecfc0
Parent: 95b293a
Committed by GitHub <noreply@github.com> on 1/27/2025, 3:59:00 PM