|
|
@ -248,6 +248,10 @@ namespace DiscordChatExporter.Services
|
|
|
|
// New lines
|
|
|
|
// New lines
|
|
|
|
content = content.Replace("\n", "<br />");
|
|
|
|
content = content.Replace("\n", "<br />");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Custom emojis (<:name:id>)
|
|
|
|
|
|
|
|
content = Regex.Replace(content, "<:.*?:(\\d+)>",
|
|
|
|
|
|
|
|
"<img class=\"emoji\" src=\"https://cdn.discordapp.com/emojis/$1.png\" />");
|
|
|
|
|
|
|
|
|
|
|
|
return content;
|
|
|
|
return content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|