Please check the following code example. It should make a pdf file with a black text, a red one and a light-purple one. In stead of that, all text is coloured like specified in the last tag.
public void myTestHTML()
{
Pdf pdf1 = new Pdf();
Section sec1 = pdf1.Sections.Add();
string s = "Test black text Arial 9";
Text t = new Text(s);
t.TextInfo.FontName = "Arial";
t.TextInfo.FontSize = 9;
t.TextInfo.Color = new Aspose.Pdf.Color("Black");
sec1.Paragraphs.Add(t);
string s2 = "Some red text should be here ";
Text t2 = new Text(s2);
t2.IsHtmlTagSupported = true;
sec1.Paragraphs.Add(t2);
string s1 = "This is a test for HTML" +
"with colored text.";
Text t1 = new Text(s1);
t1.IsHtmlTagSupported = true;
sec1.Paragraphs.Add(t1);
pdf1.Save("d:/TestHtml.pdf");
}