Skip to content

Commit 5fe6f3a

Browse files
Merge pull request #457 from TeamMsgExtractor/next-release
Version 0.54.0
2 parents 4033e9e + 4ee690b commit 5fe6f3a

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
**v0.54.0**
2+
* [[TeamMsgExtractor #456](https://github.com/TeamMsgExtractor/msg-extractor/issues/456)] Changed the prepared html output to use plainly encoded html instead of prettified, since prettifying will mangle the HTML output for some reason.
3+
14
**v0.53.2**
25
* [[TeamMsgExtractor #452](https://github.com/TeamMsgExtractor/msg-extractor/issues/452)] Adjusted code to allow html encoding to be cached to try to speed up `bs4` operations.
36
* [[TeamMsgExtractor #453](https://github.com/TeamMsgExtractor/msg-extractor/issues/453)] Fixed handler for too large filetimes so that some filetimes being too large doesn't break the handler.

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ your access to the newest major version of extract-msg.
260260
.. |License: GPL v3| image:: https://img.shields.io/badge/License-GPLv3-blue.svg
261261
:target: LICENSE.txt
262262

263-
.. |PyPI3| image:: https://img.shields.io/badge/pypi-0.53.2-blue.svg
264-
:target: https://pypi.org/project/extract-msg/0.53.2/
263+
.. |PyPI3| image:: https://img.shields.io/badge/pypi-0.54.0-blue.svg
264+
:target: https://pypi.org/project/extract-msg/0.54.0/
265265

266266
.. |PyPI2| image:: https://img.shields.io/badge/python-3.8+-brightgreen.svg
267267
:target: https://www.python.org/downloads/release/python-3810/

extract_msg/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
# along with this program. If not, see <http://www.gnu.org/licenses/>.
2828

2929
__author__ = 'Destiny Peterson & Matthew Walker'
30-
__date__ = '2025-03-14'
31-
__version__ = '0.53.2'
30+
__date__ = '2025-03-23'
31+
__version__ = '0.54.0'
3232

3333
__all__ = [
3434
# Modules:

extract_msg/msg_classes/message_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def getSaveHtmlBody(self, preparedHtml: bool = False, charset: str = 'utf-8', **
413413
head.insert(0, tag)
414414
bs.find('html').insert(0, head)
415415

416-
data = bs.prettify('utf-8')
416+
data = bs.encode('utf-8')
417417

418418
return data
419419
else:

0 commit comments

Comments
 (0)