🐛 Fix replace of markdown convertion

This commit is contained in:
2025-11-22 18:53:48 +08:00
parent 2317033dae
commit 9b26a2a7eb

View File

@@ -15,10 +15,9 @@ public class MarkdownConverter
public string ToHtml(string markdown, bool softBreaks = true)
{
var procMarkdown = markdown.Replace("solian://files/", "/drive/files");
var procMarkdown = markdown.Replace("solian://files/", "/drive/files/");
return string.IsNullOrEmpty(procMarkdown)
? string.Empty
: Markdown.ToHtml(procMarkdown, softBreaks ? _pipelineSoftBreak : _pipeline);
}
}