");
95 |
96 | if (isProgressBar && !string.IsNullOrWhiteSpace(line.ProgressName))
97 | {
98 | builder.Append(Helper.MomentTitle(timestamp + offset, Helper.HtmlEncode(line.ProgressName)));
99 | }
100 | else
101 | {
102 | builder.Append(Helper.MomentTitle(timestamp + offset, Helper.ToHumanDuration(offset)));
103 | }
104 |
105 | if (isProgressBar)
106 | {
107 | builder.AppendFormat(CultureInfo.InvariantCulture, "
", line.ProgressValue!.Value);
108 | }
109 | else
110 | {
111 | RenderText(builder, line.Message);
112 | }
113 |
114 | builder.Append("
");
115 | }
116 |
117 | ///