diff --git a/Whatsapp_Chat_Exporter/android_handler.py b/Whatsapp_Chat_Exporter/android_handler.py index c2f9bc6..d8473ab 100644 --- a/Whatsapp_Chat_Exporter/android_handler.py +++ b/Whatsapp_Chat_Exporter/android_handler.py @@ -449,9 +449,9 @@ def messages(db, data, media_folder, timezone_offset, filter_date, filter_chat): msg = content["data"] if msg is not None: if "\r\n" in msg: - msg = msg.replace("\r\n", "
") + msg = msg.replace("\r\n", "
") if "\n" in msg: - msg = msg.replace("\n", "
") + msg = msg.replace("\n", "
") else: if content["status"] == 0 and content["edit_version"] == 7 or table_message and content["media_wa_type"] == 15: msg = "Message deleted" @@ -464,9 +464,9 @@ def messages(db, data, media_folder, timezone_offset, filter_date, filter_chat): msg = content["data"] if msg is not None: if "\r\n" in msg: - msg = msg.replace("\r\n", "
") + msg = msg.replace("\r\n", "
") if "\n" in msg: - msg = msg.replace("\n", "
") + msg = msg.replace("\n", "
") message.data = msg data[content["key_remote_jid"]].add_message(content["_id"], message)