Skip to content

Commit 3b4fdea

Browse files
Fix #414
1 parent 0daecd8 commit 3b4fdea

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.48.5**
2+
* [[TeamMsgExtractor #414](https://github.com/TeamMsgExtractor/msg-extractor/issues/414)] Fixed typo in `message_signed_base.py`.
3+
14
**v0.48.4**
25
* [[TeamMsgExtractor #411](https://github.com/TeamMsgExtractor/msg-extractor/issues/411)] Fix console script throwing error due to changed console args not defaulting.
36

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.48.4-blue.svg
264-
:target: https://pypi.org/project/extract-msg/0.48.4/
263+
.. |PyPI3| image:: https://img.shields.io/badge/pypi-0.48.5-blue.svg
264+
:target: https://pypi.org/project/extract-msg/0.48.5/
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__ = '2024-03-20'
31-
__version__ = '0.48.4'
30+
__date__ = '2024-04-03'
31+
__version__ = '0.48.5'
3232

3333
__all__ = [
3434
# Modules:

extract_msg/msg_classes/message_signed_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def htmlBody(self) -> Optional[bytes]:
130130
elif self.body:
131131
# Convert the plain text body to html.
132132
logger.info('HTML body was not found, attempting to generate from plain text body.')
133-
correctedBody = html.escpae(self.body).replace('\r', '').replace('\n', '<br />')
133+
correctedBody = html.escape(self.body).replace('\r', '').replace('\n', '<br />')
134134
htmlBody = f'<html><body>{correctedBody}</body></head>'.encode('utf-8')
135135
else:
136136
logger.info('HTML body could not be found nor generated.')

0 commit comments

Comments
 (0)