anchor.diff:  begin
     TextBytes := TEncoding.UTF8.GetBytes(Text + sLineBreak);
     FOutput.WriteData(TextBytes, Length(TextBytes));
  -
  -  // TODO: implement {sanitize all string params in public methods}
   end;
   
   { THTMLReportTemplate }
  
positive.code: begin
    WriteLine(
      FTemplate.GetFooterElement
        .Replace(STR_HTML_FINISH_TIME, DateTimeToStr(FinishTime))
    );
  end;
  
  
negative.code:   begin
      sSummaryItem :=
        FTemplate.GetTotalSummaryItemElement
          .Replace(STR_HTML_SUMMARY_MESSAGE_TYPE_KEYWORD, Encode(Item.MessageTypeKeyword))
          .Replace(STR_HTML_SUMMARY_MESSAGE_TYPE_NAME, Encode(Item.MessageTypeName))
          .Replace(STR_HTML_SUMMARY_MESSAGE_COUNT, Encode(Item.MessageCount.ToString));
      sAllSummaryItems := Iff.Get<String>(
        sAllSummaryItems.IsEmpty, sSummaryItem, sAllSummaryItems + sLineBreak + sSummaryItem);
    end;
  