Skip to content

htmlBody: wrong tag when reconstructing the body? (opening with html closing with head) #481

Description

@matthieuherrmann-code

extract-msg 0.55.0
python 3.14.5

Hi and thank you for your work.

In msg_classes/message_base.py line 1181 we have

htmlBody = f'<html><body>{correctedBody}</body></head>'.encode('ascii', 'xmlcharrefreplace')

i.e. opening with and closing with , which I believe is mistake.

Bests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions