aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/Shiftnet.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.WinForms/Applications/Shiftnet.cs')
-rw-r--r--ShiftOS.WinForms/Applications/Shiftnet.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/Shiftnet.cs b/ShiftOS.WinForms/Applications/Shiftnet.cs
index af0e6ad..3da7d6a 100644
--- a/ShiftOS.WinForms/Applications/Shiftnet.cs
+++ b/ShiftOS.WinForms/Applications/Shiftnet.cs
@@ -104,7 +104,10 @@ namespace ShiftOS.WinForms.Applications
</html>";
string body = CommonMark.CommonMarkConverter.Convert(markdown);
-
+ for(int i = 0; i <= Encoding.UTF8.GetBytes(body).Length; i += DownloadManager.GetDownloadSpeed())
+ {
+ //halt the page load until 'download' finishes.
+ }
html = html.Replace("<markdown/>", body);
return html;
}