|
|
|
@ -74,10 +74,12 @@ namespace DiscordChatExporter.Services
|
|
|
|
|
"<a href=\"$1\">$1</a>");
|
|
|
|
|
|
|
|
|
|
// Preformatted multiline
|
|
|
|
|
content = Regex.Replace(content, "```([^`]*?)```", e => "<span class=\"pre\">" + e.Groups[1].Value + "</span>");
|
|
|
|
|
content = Regex.Replace(content, "```([^`]*?)```",
|
|
|
|
|
e => "<span class=\"pre\">" + e.Groups[1].Value + "</span>");
|
|
|
|
|
|
|
|
|
|
// Preformatted
|
|
|
|
|
content = Regex.Replace(content, "`([^`]*?)`", e => "<span class=\"pre\">" + e.Groups[1].Value + "</span>");
|
|
|
|
|
content = Regex.Replace(content, "`([^`]*?)`",
|
|
|
|
|
e => "<span class=\"pre\">" + e.Groups[1].Value + "</span>");
|
|
|
|
|
|
|
|
|
|
// Bold
|
|
|
|
|
content = Regex.Replace(content, "\\*\\*([^\\*]*?)\\*\\*", "<b>$1</b>");
|
|
|
|
|