diff --git a/src/AtcWeb/Components/MarkdownRepositoryContent.razor.cs b/src/AtcWeb/Components/MarkdownRepositoryContent.razor.cs
index 3a5d470..48eb0af 100644
--- a/src/AtcWeb/Components/MarkdownRepositoryContent.razor.cs
+++ b/src/AtcWeb/Components/MarkdownRepositoryContent.razor.cs
@@ -153,6 +153,15 @@ private MarkupString SanitizeHtmlToMarkup(string html)
RegexOptions.None,
TimeSpan.FromSeconds(5));
+ // Rewrite absolute github.com blob URLs in
tags to raw.githubusercontent.com
+ // (github.com/.../blob/... serves the HTML web view, not the image bytes)
+ sanitizedHtml = Regex.Replace(
+ sanitizedHtml,
+ @"![]()