From 60c8703e78ed8dbd5aad009d1c1d3a4d9d76273a Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Sun, 19 Nov 2023 00:52:19 +0200 Subject: [PATCH] Fix incorrect handling of unformatted timestamp markers --- DiscordChatExporter.Core/Markdown/Parsing/MarkdownParser.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DiscordChatExporter.Core/Markdown/Parsing/MarkdownParser.cs b/DiscordChatExporter.Core/Markdown/Parsing/MarkdownParser.cs index 4db30cdb..28b813af 100644 --- a/DiscordChatExporter.Core/Markdown/Parsing/MarkdownParser.cs +++ b/DiscordChatExporter.Core/Markdown/Parsing/MarkdownParser.cs @@ -353,6 +353,8 @@ internal static partial class MarkdownParser // Relative format: ignore because it doesn't make sense in a static export "r" => null, "R" => null, + // Unspecified format: will be mapped to the default format + null => null, // Unknown format: throw an exception to consider this timestamp invalid // https://github.com/Tyrrrz/DiscordChatExporter/issues/1156 var f